mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-14 12:23:58 +01:00
nix: Use hosts directory
This may be useful if I want to try NixOS on another host in the future.
This commit is contained in:
parent
5cd582cdac
commit
a0dae2344d
@ -20,7 +20,6 @@
|
||||
stylix.nixosModules.stylix
|
||||
nix-gaming.nixosModules.pipewireLowLatency
|
||||
./src/main.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -8,6 +8,7 @@
|
||||
VARIABLES = import ./variables.nix;
|
||||
in {
|
||||
imports = [
|
||||
"${VARIABLES.hostHardwareConfiguration}"
|
||||
../modules
|
||||
../containers/rar.nix
|
||||
../containers/wine.nix
|
||||
|
@ -2,4 +2,5 @@
|
||||
hostname = "nixos";
|
||||
system = "x86_64-linux";
|
||||
timezone = "America/New_York";
|
||||
hostHardwareConfiguration = ../hosts/laptop.nix;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user