mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
Minimal with flake update
This commit is contained in:
@@ -5,10 +5,18 @@
|
||||
services.locate.enable = true;
|
||||
services.openssh.enable = true;
|
||||
|
||||
hardware.enableAllFirmware = true;
|
||||
|
||||
# Nix fun
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "flakes" "nix-command" ];
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryPackage = with pkgs; pinentry-all;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
programs.nix-ld.enable = true; # Linking support
|
||||
|
||||
@@ -16,14 +24,16 @@
|
||||
services.avahi.enable = true;
|
||||
services.avahi.nssmdns4 = true;
|
||||
|
||||
environment = { systemPackages = with pkgs; [ xorg.xrandr git starship zoxide rsync ]; };
|
||||
environment = {
|
||||
systemPackages = with pkgs; [ yazi tmux git starship zoxide rsync ];
|
||||
};
|
||||
|
||||
nix.optimise.automatic = true;
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 14d"; # Two weeks cache then forget
|
||||
options = "--delete-older-than 7d"; # Two weeks cache then forget
|
||||
};
|
||||
|
||||
networking = { networkmanager = { enable = true; }; };
|
||||
|
||||
Reference in New Issue
Block a user