mirror of
https://codeberg.org/privacy1st/nix-git
synced 2025-02-02 07:45:16 +01:00
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./base-minimal.nix
|
|
|
|
# Filesystem settings.
|
|
./btrfsScrub.nix
|
|
|
|
# DNS settings.
|
|
#
|
|
# TODO add nix option
|
|
./dns.nix # Encrypted DNS queries to custom name servers.
|
|
#./dns-unencrypted.nix # Custom name servers.
|
|
|
|
# Shell settings.
|
|
./bash.nix # bash settings.
|
|
./zsh.nix # zsh as default shell for yoda and root.
|
|
./fzf.nix # Fuzzy command history and file search.
|
|
|
|
# nixpkgs config
|
|
./home-manager.nix
|
|
|
|
# Nix garbage collection.
|
|
./nix-gc.nix
|
|
# Display contact information during boot.
|
|
./initrd-contact-info.nix
|
|
];
|
|
|
|
# Enables wireless support via wpa_supplicant.
|
|
# networking.wireless.enable = true;
|
|
#
|
|
# Enable networking.
|
|
networking.networkmanager.enable = true;
|
|
#
|
|
users.users.yoda = {
|
|
extraGroups = [ "networkmanager" ];
|
|
};
|
|
|
|
nix.settings.auto-optimise-store = true;
|
|
|
|
# Firewall.
|
|
# https://nixos.wiki/wiki/Firewall
|
|
# Note: Firewall rules may be bypassed/overwritten by Docker, as per https://github.com/NixOS/nixpkgs/issues/111852
|
|
networking.firewall.enable = true;
|
|
}
|