dotfiles.nix/nixos/fuchsia/configuration.nix
2024-09-20 20:24:55 +08:00

56 lines
1.1 KiB
Nix

{...}: {
imports = [
# Global configuartion for all our systems
../common/global
# Our user configuration and optional user units
../common/users/sajenim
../common/users/sajenim/samba
../common/users/sajenim/steam
# Optional components
../common/optional/yubikey.nix
# Services
./services/amdgpu-clocks
./services/flatpak
./services/libinput
./services/printers
./services/udev
./services/xserver
# Setup our hardware
./hardware-configuration.nix
];
# Networking configuration
networking = {
hostName = "fuchsia";
networkmanager.enable = true;
};
# 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
virtualisation.docker = {
enable = true;
liveRestore = false;
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
}