2024-03-03 08:52:43 +00:00
|
|
|
{ config, pkgs, lib, foodogsquaredModulesPath, ... }:
|
2021-11-25 11:55:30 +00:00
|
|
|
|
|
|
|
{
|
2021-12-11 05:37:27 +00:00
|
|
|
imports = [
|
2024-01-25 10:52:40 +00:00
|
|
|
"${foodogsquaredModulesPath}/profiles/desktop"
|
|
|
|
|
2021-12-11 05:37:27 +00:00
|
|
|
# Include the results of the hardware scan.
|
2021-11-25 13:45:48 +00:00
|
|
|
./hardware-configuration.nix
|
2024-02-22 23:24:21 +00:00
|
|
|
|
|
|
|
# Include the disko configuration.
|
|
|
|
./disko.nix
|
|
|
|
|
2024-03-03 08:52:43 +00:00
|
|
|
# My host-specific modules.
|
2023-12-12 13:20:55 +00:00
|
|
|
./modules
|
2021-11-25 13:45:48 +00:00
|
|
|
];
|
2021-11-25 11:55:30 +00:00
|
|
|
|
2023-12-12 13:20:55 +00:00
|
|
|
hosts.ni = {
|
2023-12-12 13:28:41 +00:00
|
|
|
hardware.qol.enable = true;
|
2024-03-11 05:13:23 +00:00
|
|
|
networking.enable = true;
|
2023-12-15 06:14:15 +00:00
|
|
|
services.backup.enable = true;
|
2024-11-26 10:30:41 +00:00
|
|
|
services.monitoring.enable = true;
|
2024-12-09 11:21:53 +00:00
|
|
|
services.penpot.enable = true;
|
2023-12-13 10:16:40 +00:00
|
|
|
setups = {
|
|
|
|
desktop.enable = true;
|
|
|
|
development.enable = true;
|
|
|
|
music.enable = true;
|
|
|
|
gaming.enable = true;
|
|
|
|
};
|
2023-12-12 13:20:55 +00:00
|
|
|
};
|
|
|
|
|
2024-09-17 10:32:29 +00:00
|
|
|
state.paths = {
|
|
|
|
cacheDir = "/var/cache";
|
|
|
|
dataDir = "/var/lib";
|
|
|
|
logDir = "/var/log";
|
|
|
|
runtimeDir = "/run";
|
|
|
|
};
|
|
|
|
|
2024-02-15 15:14:33 +00:00
|
|
|
# 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";
|
2023-07-05 03:39:44 +00:00
|
|
|
|
2023-12-29 10:49:45 +00:00
|
|
|
# Enable Nix channels.
|
|
|
|
nix.channel.enable = true;
|
|
|
|
|
2023-12-17 03:57:44 +00:00
|
|
|
# Make Nix experimental.
|
2024-01-07 02:34:08 +00:00
|
|
|
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!
|
2021-11-25 11:55:30 +00:00
|
|
|
}
|