64 lines
1.2 KiB
Nix
Executable File
64 lines
1.2 KiB
Nix
Executable File
{
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
|
|
imports = [
|
|
|
|
# Hardware
|
|
./hardware-configuration.nix
|
|
./parts/kernel.nix
|
|
|
|
# Configurations
|
|
./parts/users.nix
|
|
|
|
# Modules
|
|
inputs.self.nixos
|
|
inputs.self.apps
|
|
|
|
];
|
|
|
|
nixpkgs = {
|
|
overlays = [
|
|
inputs.self.overlays.additions
|
|
inputs.self.overlays.modifications
|
|
inputs.self.overlays.unstable-packages
|
|
];
|
|
};
|
|
|
|
nix = {
|
|
settings = {
|
|
experimental-features = "nix-command flakes";
|
|
};
|
|
};
|
|
|
|
networking.hostName = "nixos";
|
|
networking.firewall.enable = true;
|
|
|
|
time.timeZone = "Europe/Brussels";
|
|
|
|
# System services
|
|
within.boot.systemd.enable = true;
|
|
within.boot.plymouth.enable = true;
|
|
within.graphics.nvidia.enable = true;
|
|
within.audio.pipewire.enable = true;
|
|
within.networks.dns.enable = true;
|
|
within.networks.manager.enable = true;
|
|
|
|
# System configurations
|
|
within.keyboard.apple.enable = true;
|
|
|
|
# Shell configurations
|
|
within.shell.zsh.enable = true;
|
|
within.shell.git.enable = true;
|
|
within.shell.nh.enable = true;
|
|
|
|
# Gnome configurations
|
|
within.gnome.shell.enable = true;
|
|
within.gnome.apps.enable = true;
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
system.stateVersion = "25.11";
|
|
}
|