add several application, delete old generations, newer kernel
This commit is contained in:
parent
fa83a2df09
commit
18f3e7008b
@ -16,6 +16,9 @@
|
|||||||
boot.loader.grub.device = "/dev/sda";
|
boot.loader.grub.device = "/dev/sda";
|
||||||
boot.loader.grub.useOSProber = true;
|
boot.loader.grub.useOSProber = true;
|
||||||
|
|
||||||
|
# newest kernel
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
networking.hostName = "nixos"; # Define your hostname.
|
networking.hostName = "nixos"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
@ -115,6 +118,12 @@
|
|||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
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
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
11
home.nix
11
home.nix
@ -13,11 +13,15 @@
|
|||||||
"org/gnome/desktop/interface" = {
|
"org/gnome/desktop/interface" = {
|
||||||
color-scheme = "prefer-dark";
|
color-scheme = "prefer-dark";
|
||||||
enable-hot-corners = true;
|
enable-hot-corners = true;
|
||||||
|
clock-show-seconds = true;
|
||||||
};
|
};
|
||||||
"org/gnome/mutter" = {
|
"org/gnome/mutter" = {
|
||||||
dynamic-workspaces = true;
|
dynamic-workspaces = true;
|
||||||
edge-tiling = 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
|
# nautilus settings
|
||||||
@ -29,4 +33,11 @@
|
|||||||
default-zoom-level = "small";
|
default-zoom-level = "small";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# set git names
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "Lukas Heiligenbrunner";
|
||||||
|
userEmail = "lukas.heiligenbrunner@gmail.com";
|
||||||
|
};
|
||||||
}
|
}
|
@ -20,6 +20,9 @@
|
|||||||
atomix # puzzle game
|
atomix # puzzle game
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
# disable xterm
|
||||||
|
services.xserver.excludePackages = [ pkgs.xterm ];
|
||||||
|
|
||||||
# packages in global env
|
# packages in global env
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# system utilities
|
# system utilities
|
||||||
@ -39,5 +42,12 @@
|
|||||||
# multimedia
|
# multimedia
|
||||||
vlc
|
vlc
|
||||||
gimp
|
gimp
|
||||||
|
|
||||||
|
# file transfer
|
||||||
|
warp
|
||||||
|
|
||||||
|
# gui utilities
|
||||||
|
pdfarranger
|
||||||
|
diebahn
|
||||||
];
|
];
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user