nix-conf/modules/nixos/default.nix

56 lines
1.1 KiB
Nix
Raw Normal View History

2024-04-10 17:21:45 +00:00
{lib, ...}: {
imports = [
2024-04-10 17:27:06 +00:00
./bluetooth
2024-04-10 17:21:45 +00:00
./bootloader
2024-04-10 17:55:25 +00:00
./display-manager
2024-04-11 08:04:26 +00:00
./editor
2024-04-11 05:35:45 +00:00
./environment
2024-04-10 17:21:45 +00:00
./filesystem
2024-04-10 17:46:46 +00:00
./fonts
2024-04-11 08:04:26 +00:00
./hardware
./hyprland
2024-04-10 17:21:45 +00:00
./kernel
2024-04-10 17:45:03 +00:00
./locale
2024-04-11 08:04:26 +00:00
./networking
2024-04-11 04:48:03 +00:00
./packages
2024-04-11 08:04:26 +00:00
./sound
./ssh
./virtualization
2024-04-10 17:21:45 +00:00
];
2024-04-11 05:33:40 +00:00
nix = {
settings = {
experimental-features = ["nix-command" "flakes"];
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 15d";
};
};
services = {
gvfs.enable = true;
printing.enable = true;
upower.enable = true;
uptimed.enable = true;
};
programs = {
dconf.enable = true;
zsh.enable = true;
};
2024-04-11 05:58:48 +00:00
# enable modules
bluetooth.enable = lib.mkDefault true;
display-manager.enable = lib.mkDefault true;
2024-04-11 08:04:26 +00:00
editor.enable = lib.mkDefault true;
hardware.enable = lib.mkDefault true;
hyprland.enable = lib.mkDefault true;
networking.enable = lib.mkDefault true;
audio.enable = lib.mkDefault true;
ssh.enable = lib.mkDefault true;
virtualization.enable = lib.mkDefault true;
2024-04-10 17:21:45 +00:00
}