2024-08-11 16:15:30 +08:00
|
|
|
{...}: {
|
2023-04-03 22:41:22 +08:00
|
|
|
imports = [
|
2024-08-11 16:15:30 +08:00
|
|
|
# Global configuartion for all our systems
|
2024-01-14 06:29:18 +08:00
|
|
|
../common/global
|
2024-08-11 16:15:30 +08:00
|
|
|
# Our user configuration and optional user units
|
2024-01-14 06:29:18 +08:00
|
|
|
../common/users/sajenim
|
2024-06-03 21:10:23 +08:00
|
|
|
../common/users/sajenim/samba
|
2024-06-03 20:58:34 +08:00
|
|
|
../common/users/sajenim/steam
|
2024-08-11 16:15:30 +08:00
|
|
|
# Optional components
|
2024-01-21 21:03:57 +08:00
|
|
|
../common/optional/key.nix
|
2024-08-11 16:15:30 +08:00
|
|
|
# Programs and services
|
2024-07-26 09:13:04 +08:00
|
|
|
./programs
|
2024-04-01 10:04:53 +08:00
|
|
|
./services
|
2024-08-11 16:15:30 +08:00
|
|
|
# Setup our hardware
|
2023-04-03 22:41:22 +08:00
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
|
|
|
|
2024-08-08 09:02:42 +08:00
|
|
|
# Networking configuration
|
2023-04-07 06:51:34 +08:00
|
|
|
networking = {
|
|
|
|
hostName = "fuchsia";
|
|
|
|
networkmanager.enable = true;
|
|
|
|
};
|
2023-04-03 22:41:22 +08:00
|
|
|
|
2024-05-07 20:42:56 +08:00
|
|
|
# Use docker instead of podman for our containers.
|
2023-04-07 06:51:34 +08:00
|
|
|
virtualisation.docker = {
|
2023-04-03 22:41:22 +08:00
|
|
|
enable = true;
|
2023-04-07 06:51:34 +08:00
|
|
|
liveRestore = false;
|
|
|
|
};
|
|
|
|
|
2023-04-03 22:41:22 +08:00
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
2024-07-08 22:00:24 +08:00
|
|
|
system.stateVersion = "24.05";
|
2023-04-03 22:41:22 +08:00
|
|
|
}
|