add several application, delete old generations, newer kernel

This commit is contained in:
Lukas Heiligenbrunner 2023-10-21 12:00:53 +02:00
parent fa83a2df09
commit 18f3e7008b
3 changed files with 30 additions and 0 deletions

View File

@ -16,6 +16,9 @@
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
# newest kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "nixos"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -115,6 +118,12 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# automatically delete older generations and keep last 5
nix.settings.auto-optimise-store = true;
nix.gc.automatic = true;
nix.gc.dates = "daily";
nix.gc.options = "--delete-older-than +5";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

View File

@ -13,11 +13,15 @@
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
enable-hot-corners = true;
clock-show-seconds = true;
};
"org/gnome/mutter" = {
dynamic-workspaces = true;
edge-tiling = true;
};
"org/gnome/shell" = {
favorite-apps = ["org.gnome.Nautilus.desktop" "gnome-system-monitor.desktop" "firefox.desktop" "org.gnome.Console.desktop"];
};
};
# nautilus settings
@ -29,4 +33,11 @@
default-zoom-level = "small";
};
};
# set git names
programs.git = {
enable = true;
userName = "Lukas Heiligenbrunner";
userEmail = "lukas.heiligenbrunner@gmail.com";
};
}

View File

@ -20,6 +20,9 @@
atomix # puzzle game
]);
# disable xterm
services.xserver.excludePackages = [ pkgs.xterm ];
# packages in global env
environment.systemPackages = with pkgs; [
# system utilities
@ -39,5 +42,12 @@
# multimedia
vlc
gimp
# file transfer
warp
# gui utilities
pdfarranger
diebahn
];
}