preserving hardware-configuration

This commit is contained in:
Till 2026-01-23 01:31:43 +01:00
parent 8d34db82c8
commit 120d26b0e4
13 changed files with 181 additions and 207 deletions

View file

@ -43,61 +43,41 @@
nova = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/nova
{
nixpkgs.config.allowUnfree = true;
}
home-manager.nixosModules.home-manager {
home-manager = {
extraSpecialArgs = { inherit inputs; };
useGlobalPkgs = true;
useUserPackages = true;
users.till = {
imports = [ ./home ];
users = {
till = {
imports = [
./home
./users/till-home.nix
];
};
alt = { imports = [ ./home/alt.nix ]; };
guest = { imports = [ ./home/guest.nix ]; };
};
};
}
{
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (nixpkgs.lib.getName pkg) [
"corefonts"
"textfonts"
"keymapp"
"steam"
"steam-unwrapped"
];
}
];
};
};
# homeConfigurations = {
# till = home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlays.default;
# extraSpecialArgs = { inherit inputs; };
# modules = [
# ./home
# ];
# };
# "till@romulus" = home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlays.default;
# extraSpecialArgs = { inherit inputs; };
# modules = [
# ./home/slim-desktop.nix
# ];
# };
# "till@arielle" = home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages.x86_64-linux;
# extraSpecialArgs = { inherit inputs; };
# modules = [
# ./home/on-server.nix
# ];
# };
# alt = home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlays.default;
# extraSpecialArgs = { inherit inputs; };
# modules = [
# ./home/alt.nix
# ];
# };
# guest = home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlays.default;
# extraSpecialArgs = { inherit inputs; };
# modules = [
# ./home/guest.nix
# ];
# };
# };
};
}