2023-01-21 14:29:03 +00:00
|
|
|
{ inputs, globals, overlays, ... }:
|
2022-10-31 00:14:41 +00:00
|
|
|
|
|
|
|
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 = [
|
2022-12-22 00:07:58 +00:00
|
|
|
./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";
|
2023-01-21 14:29:03 +00:00
|
|
|
nixpkgs.overlays = [ nur.overlay ] ++ overlays;
|
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";
|
2022-11-03 01:29:14 +00:00
|
|
|
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
|
|
|
};
|
2022-11-03 01:29:14 +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;
|
2023-01-21 14:29:03 +00:00
|
|
|
publicKey = null;
|
2022-12-21 21:18:03 +00:00
|
|
|
|
2023-01-21 14:29:03 +00:00
|
|
|
neovim.enable = true;
|
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;
|
2023-01-21 15:44:39 +00:00
|
|
|
# mullvad.enable = true;
|
2022-12-21 21:18:03 +00:00
|
|
|
nixlang.enable = true;
|
|
|
|
dotfiles.enable = true;
|
2022-05-08 20:02:13 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|