nix/hosts/nxs/configuration.nix
Narrator 49dc0ecc50
Some checks failed
CI / formatting (push) Failing after 9m23s
CI / nix_flake_check (push) Failing after 9m24s
cleanup
2025-12-09 14:35:23 +01:00

81 lines
1.4 KiB
Nix

{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./modules/nixos/boot.nix
./modules/nixos/hardware.nix
./modules/nixos/desktop.nix
./modules/nixos/power-management.nix
];
# System settings
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
system.stateVersion = "25.05";
# Networking
networking = {
hostName = "nxs";
networkmanager.enable = true;
firewall.enable = true;
};
# Localization
time.timeZone = "Europe/Rome";
# Virtualization
virtualisation.docker = {
enable = true;
enableOnBoot = true;
};
# Users
programs.fish.enable = true;
users.users.narrator = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" ];
shell = pkgs.fish;
packages = with pkgs; [ tree ];
};
# System packages
environment.systemPackages = with pkgs; [
vim
gnupg
wget
cryptsetup
xorg.xinit
os-prober
fish
htop
fzf
curl
git
pinentry-curses
lightdm
i3
awesome
blueman
];
# Services
services = {
openssh.enable = true;
timesyncd.enable = true;
pcscd.enable = true;
};
# Programs
programs = {
firefox.enable = true;
ssh.startAgent = true;
gnupg.agent.enable = true;
};
# Security
security.sudo.wheelNeedsPassword = false;
# Documentation
documentation.man.generateCaches = false;
}