move system to hosts directory

This commit is contained in:
Noah Masur
2022-05-08 16:02:13 -04:00
parent 446fc5d5c1
commit ed2b61b03f
2 changed files with 49 additions and 30 deletions

31
hosts/desktop/default.nix Normal file
View File

@ -0,0 +1,31 @@
{ nixpkgs, home-manager, nur, globals, ... }:
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { };
modules = [
globals
{
networking.hostName = "desktop";
gui.enable = true;
gui.compositor.enable = true;
}
home-manager.nixosModules.home-manager
{ nixpkgs.overlays = [ nur.overlay ]; }
./hardware-configuration.nix
../common.nix
../../modules/hardware
../../modules/system
../../modules/desktop
../../modules/shell
../../modules/gaming
../../modules/services/keybase.nix
../../modules/applications/firefox.nix
../../modules/applications/alacritty.nix
../../modules/applications/media.nix
../../modules/applications/1password.nix
../../modules/applications/discord.nix
../../modules/editor/neovim
../../modules/editor/notes.nix
];
}