rebuilding minimised nix files
This commit is contained in:
+320
-305
File diff suppressed because it is too large
Load Diff
+1
-10
@@ -35,8 +35,7 @@ machines = [
|
|||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit (user) system;
|
inherit (user) system;
|
||||||
};
|
};
|
||||||
in!1!1Salou2@
|
in
|
||||||
CV
|
|
||||||
{
|
{
|
||||||
nixosConfigurations = builtins.listToAttrs (
|
nixosConfigurations = builtins.listToAttrs (
|
||||||
builtins.map (machine: {
|
builtins.map (machine: {
|
||||||
@@ -67,14 +66,6 @@ CV
|
|||||||
}
|
}
|
||||||
|
|
||||||
catppuccin.nixosModules.catppuccin # theme
|
catppuccin.nixosModules.catppuccin # theme
|
||||||
|
|
||||||
# Copying ./assets/config/.config to ~/.config
|
|
||||||
# Ensure the script is executable and available
|
|
||||||
environment.systemPackages = [ pkgs.bash ];
|
|
||||||
# Add the activation script
|
|
||||||
system.activationScripts.recreateConfig = lib.mkAfter "setupNetworking" ''
|
|
||||||
${self}/assets/scripts/recreate_config.sh
|
|
||||||
'';
|
|
||||||
];
|
];
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
./dev/starship.nix
|
./dev/starship.nix
|
||||||
./dev/zsh.nix
|
./dev/zsh.nix
|
||||||
./dev/emacs
|
./dev/emacs
|
||||||
|
./copy_config.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.username = "${user.username}";
|
home.username = "${user.username}";
|
||||||
|
|||||||
@@ -24,3 +24,14 @@
|
|||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
# Ensure the script is executable and available
|
||||||
|
environment.systemPackages = [ pkgs.bash ];
|
||||||
|
|
||||||
|
# Add the activation script
|
||||||
|
system.activationScripts.recreateConfig = lib.mkAfter "setupNetworking" ''
|
||||||
|
${config.flakeRoot.outPath}/assets/scripts/recreate_config.sh
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user