rebuilding minimised nix files

This commit is contained in:
2026-03-02 18:12:47 +01:00
parent 58a049c93a
commit 7edea562b2
4 changed files with 336 additions and 318 deletions
+320 -305
View File
File diff suppressed because it is too large Load Diff
+4 -13
View File
@@ -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 = {
+1
View File
@@ -20,6 +20,7 @@
./dev/starship.nix
./dev/zsh.nix
./dev/emacs
./copy_config.nix
];
home.username = "${user.username}";
+11
View File
@@ -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
'';
}