nix-config/nixos/fuchsia/configuration.nix

63 lines
1.4 KiB
Nix

{...}: {
imports = [
# Global configuartion for all our systems
../common/global
# Our user configuration and optional user units
../common/users/sajenim
../common/users/sajenim/steam
../common/users/sajenim/xmonad
# Optional components
../common/optional/yubikey.nix
# Services
./services/amdgpu-clocks
./services/flatpak
./services/libinput
./services/ollama
./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;
# Configuration storage system for xfce
xfconf.enable = true;
};
# Configure services
services = {
# Access smart cards using SCard API
pcscd.enable = true;
# Mount, trash, and other functionalities
gvfs.enable = true;
# Thumbnail support for images
tumbler.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";
}