My nix-darwin and NixOS config
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: correct backup name feat: add ARM server option

+4 -1
+4 -1
flake.nix
··· 82 82 ]; 83 83 home-manager.extraSpecialArgs = { inherit cfgLib; }; 84 84 home-manager.users.${userConfig.username} = homeUser { pkgsFor = pkgsForSystem; isDarwin = false; inherit isDesktop hostName; }; 85 - home-manager.backupFileExtension = "backup"; 85 + home-manager.backupFileExtension = "hm-backup-${toString builtins.currentTime}"; 86 86 } 87 87 ]; 88 88 }; ··· 121 121 nixosConfigurations = rec { 122 122 default = mkNixOS { system = "x86_64-linux"; hostFile = ./hosts/laptop; hostName = "laptop"; }; 123 123 laptop = default; 124 + 125 + # Server configurations for different architectures 124 126 server = mkNixOS { system = "x86_64-linux"; hostFile = ./hosts/server; hostName = "server"; isDesktop = false; }; 127 + server-arm = mkNixOS { system = "aarch64-linux"; hostFile = ./hosts/server; hostName = "server"; isDesktop = false; }; 125 128 }; 126 129 127 130 darwinConfigurations = {