Update flake.nix

This commit is contained in:
Aaron Honeycutt 2024-01-08 20:02:11 +00:00
parent c85abbc39e
commit c54b962282

View file

@ -26,30 +26,30 @@
({config, pkgs, ...}: { ({config, pkgs, ...}: {
nix = { nix = {
settings.auto-optimise-store = true; settings.auto-optimise-store = true;
settings.experimental-features = [ "nix-command" "flakes" ]; settings.experimental-features = [ "nix-command" "flakes" ];
gc = { gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
}; };
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
loader = { loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
systemd-boot.consoleMode = "0"; systemd-boot.consoleMode = "0";
}; };
}; };
networking = { networking = {
hostName = "vm"; hostName = "vm";
networkmanager.enable = true;
}; };
users.users.aaronh = { users.users.aaronh = {
@ -63,12 +63,11 @@
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git
git-lfs git-lfs
neofetch neofetch
nmcli tree
tree wget
wget
]; ];
services.openssh = { services.openssh = {