nixos-config/configs/nixos/ni/default.nix

46 lines
996 B
Nix

{ config, pkgs, lib, foodogsquaredModulesPath, ... }:
{
imports = [
"${foodogsquaredModulesPath}/profiles/desktop"
# Include the results of the hardware scan.
./hardware-configuration.nix
# Include the disko configuration.
./disko.nix
# My host-specific modules.
./modules
];
hosts.ni = {
hardware.qol.enable = true;
networking = {
enable = true;
wireguard.enable = true;
};
services.backup.enable = true;
setups = {
desktop.enable = true;
development.enable = true;
music.enable = true;
gaming.enable = true;
};
};
# Enable the display manager of choice.
services.xserver.displayManager.gdm.enable = true;
# The keyfile required for the secrets to be decrypted.
sops.age.keyFile = "/var/lib/sops-nix/key";
# Enable Nix channels.
nix.channel.enable = true;
# Make Nix experimental.
nix.package = pkgs.nixStable;
system.stateVersion = "24.05"; # Yes! I read the comment!
}