dotfiles/hosts/desktop/default.nix

53 lines
1.4 KiB
Nix
Raw Normal View History

{ inputs, globals, ... }:
with inputs;
2022-05-08 20:02:13 +00:00
2022-05-19 12:48:23 +00:00
# System configuration for my desktop
2022-05-08 20:02:13 +00:00
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { };
modules = [
./hardware-configuration.nix
../../modules
../../nixos
2022-05-08 20:02:13 +00:00
globals
2022-12-22 00:31:25 +00:00
wsl.nixosModules.wsl
2022-05-19 12:48:23 +00:00
home-manager.nixosModules.home-manager
2022-05-08 20:02:13 +00:00
{
2022-12-21 21:18:03 +00:00
physical = true;
2022-05-08 20:02:13 +00:00
networking.hostName = "desktop";
2022-05-19 12:48:23 +00:00
nixpkgs.overlays = [ nur.overlay ];
2022-09-18 01:15:31 +00:00
# Set registry to flake packages, used for nix X commands
2022-09-18 01:33:57 +00:00
nix.registry.nixpkgs.flake = nixpkgs;
2022-10-16 14:20:50 +00:00
identityFile = "/home/${globals.user}/.ssh/id_ed25519";
gui.enable = true;
theme = {
2022-12-21 21:18:03 +00:00
colors = (import ../../colorscheme/gruvbox).dark;
2022-11-05 23:38:43 +00:00
dark = true;
2022-06-20 03:44:29 +00:00
};
wallpaper = "${wallpapers}/gruvbox/road.jpg";
gtk.theme.name = nixpkgs.lib.mkDefault "Adwaita-dark";
2022-11-03 01:47:11 +00:00
passwordHash = nixpkgs.lib.fileContents ../../private/password.sha512;
2022-12-22 00:31:25 +00:00
wsl.enable = false;
2022-12-21 21:18:03 +00:00
media.enable = true;
firefox.enable = true;
kitty.enable = true;
"1password".enable = true;
discord.enable = true;
nautilus.enable = true;
obsidian.enable = true;
2022-12-22 00:31:25 +00:00
mail.enable = true;
2022-12-21 21:18:03 +00:00
mail.aerc.enable = true;
mail.himalaya.enable = true;
gaming.enable = true;
gaming.steam.enable = true;
gaming.legendary.enable = true;
keybase.enable = true;
mullvad.enable = true;
nixlang.enable = true;
dotfiles.enable = true;
2022-05-08 20:02:13 +00:00
}
];
}