rebuilding minimised nix files
This commit is contained in:
+320
-305
File diff suppressed because it is too large
Load Diff
+4
-13
@@ -35,8 +35,7 @@ machines = [
|
||||
pkgs = import nixpkgs {
|
||||
inherit (user) system;
|
||||
};
|
||||
in!1!1Salou2@
|
||||
CV
|
||||
in
|
||||
{
|
||||
nixosConfigurations = builtins.listToAttrs (
|
||||
builtins.map (machine: {
|
||||
@@ -51,12 +50,12 @@ CV
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit user inputs;
|
||||
flakeRoot.outPath= inputs.self;
|
||||
};
|
||||
|
||||
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.users.${user.username} = {
|
||||
imports = [
|
||||
@@ -65,16 +64,8 @@ CV
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
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 = {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
./dev/starship.nix
|
||||
./dev/zsh.nix
|
||||
./dev/emacs
|
||||
./copy_config.nix
|
||||
];
|
||||
|
||||
home.username = "${user.username}";
|
||||
|
||||
@@ -24,3 +24,14 @@
|
||||
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