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-09-20 20:24:55 +08:00
|
|
|
|
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 20:58:34 +08:00
|
|
|
../common/users/sajenim/steam
|
2024-09-20 20:24:55 +08:00
|
|
|
|
2024-08-11 16:15:30 +08:00
|
|
|
# Optional components
|
2024-09-20 20:24:55 +08:00
|
|
|
../common/optional/yubikey.nix
|
|
|
|
|
|
|
|
# Services
|
|
|
|
./services/amdgpu-clocks
|
|
|
|
./services/flatpak
|
|
|
|
./services/libinput
|
|
|
|
./services/printers
|
|
|
|
./services/udev
|
|
|
|
./services/xserver
|
|
|
|
|
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-09-20 20:24:55 +08:00
|
|
|
# Configure programs
|
|
|
|
programs = {
|
|
|
|
zsh.enable = true;
|
|
|
|
# Load and unload environment variables.
|
|
|
|
direnv.enable = true;
|
|
|
|
# Android debug bridge: communicate with devices.
|
|
|
|
adb.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Configure services
|
|
|
|
services = {
|
|
|
|
# Access smart cards using SCard API
|
|
|
|
pcscd.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Manage linux 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
|
|
|
}
|