nix-conf/modules/nixos/default.nix

46 lines
737 B
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 04:52:48 +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-10 17:31:45 +00:00
./hardware
2024-04-10 17:21:45 +00:00
./kernel
2024-04-10 17:45:03 +00:00
./locale
2024-04-10 17:42:17 +00:00
./networking
2024-04-11 04:48:03 +00:00
./packages
2024-04-10 18:03:35 +00:00
./sound
2024-04-11 04:55:51 +00:00
./ssh
2024-04-10 18:20:53 +00:00
./virtualisation
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";
};
};
nixpkgs.config.allowUnfree = true;
services = {
gvfs.enable = true;
printing.enable = true;
upower.enable = true;
uptimed.enable = true;
};
programs = {
dconf.enable = true;
zsh.enable = true;
};
2024-04-10 17:21:45 +00:00
}