mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
69 lines
1020 B
Nix
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";
|
|
};
|
|
}
|