nix-conf/modules/nixos/default.nix
2024-04-11 13:34:26 +05:30

57 lines
1.1 KiB
Nix

{lib, ...}: {
imports = [
./bluetooth
./bootloader
./display-manager
./editor
./environment
./filesystem
./fonts
./hardware
./hyprland
./kernel
./locale
./networking
./packages
./sound
./ssh
./virtualization
];
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;
};
# enable modules
bluetooth.enable = lib.mkDefault true;
display-manager.enable = lib.mkDefault true;
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;
}