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

43 lines
948 B
Nix
Raw Normal View History

2024-03-03 08:52:43 +00:00
{ config, pkgs, lib, foodogsquaredModulesPath, ... }:
{
imports = [
"${foodogsquaredModulesPath}/profiles/desktop"
# Include the results of the hardware scan.
2021-11-25 13:45:48 +00:00
./hardware-configuration.nix
# Include the disko configuration.
./disko.nix
2024-03-03 08:52:43 +00:00
# My host-specific modules.
./modules
2021-11-25 13:45:48 +00:00
];
hosts.ni = {
hardware.qol.enable = true;
networking.enable = true;
services.backup.enable = true;
2023-12-13 10:16:40 +00:00
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;
2023-09-11 02:14:39 +00:00
# The keyfile required for the secrets to be decrypted.
2024-03-03 08:52:43 +00:00
sops.age.keyFile = "/var/lib/sops-nix/key";
# Enable Nix channels.
nix.channel.enable = true;
2023-12-17 03:57:44 +00:00
# Make Nix experimental.
nix.package = pkgs.nixStable;
2023-12-17 03:57:44 +00:00
2023-12-10 03:26:06 +00:00
system.stateVersion = "24.05"; # Yes! I read the comment!
}