NixOSDots/hosts/light/configuration.nix
Alexandre Delcamp--Enache 03b9dba788 Fixed a misplaced option
2026-01-04 11:20:46 +01:00

69 lines
1020 B
Nix

{ config, pkgs, inputs, ... }:
{
imports = [
./hardware-configuration.nix
./modules.nix
];
# Bootloader
boot = {
loader = {
systemd-boot = {
enable = true;
};
efi = {
canTouchEfiVariables = true;
};
};
};
# Networking
networking = {
hostName = "light";
networkmanager = {
enable = true;
};
};
# Services
services = {
# Desktop Environment/Greeter
xserver = {
enable = true;
defaultSession = "xfce";
displayManager = {
lightdm = {
enable = true;
};
};
desktopManager = {
xfce = {
enable = true;
};
xterm = {
enable = true;
};
};
};
};
# General nix settings
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
};
};
# Nixpkgs config
nixpkgs = {
config = {
allowUnfree = true;
};
};
system = {
stateVersion = "24.11";
};
}