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
+1 -10
View File
@@ -35,8 +35,7 @@ machines = [
pkgs = import nixpkgs {
inherit (user) system;
};
in!1!1Salou2@
CV
in
{
nixosConfigurations = builtins.listToAttrs (
builtins.map (machine: {
@@ -67,14 +66,6 @@ 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
'';
}