Compare commits

...

3 commits

Author SHA1 Message Date
Geir Okkenhaug Jerstad 2f7811c197 Merge branch 'main' of git.sr.ht:~geokkjer/NixOS_configs 2024-12-03 13:31:19 +01:00
Geir Okkenhaug Jerstad 15eec54067 added dotnet 2024-12-03 13:30:43 +01:00
Geir Okkenhaug Jerstad d7abb17048 configured some maintenance options 2024-12-03 09:16:18 +01:00
2 changed files with 26 additions and 16 deletions

View file

@ -34,6 +34,17 @@
services.zfs.autoScrub.enable = true; services.zfs.autoScrub.enable = true;
services.zfs.trim.enable = true; services.zfs.trim.enable = true;
# Maintenance
system.autoUpgrade.enable = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 10d";
};
nix.optimise.automatic = true;
nix.optimise.dates = [ "03:45" ];
nix.settings.auto-optimise-store = true;
# Firmware # Firmware
services.fwupd.enable = true; services.fwupd.enable = true;
hardware.firmware = with pkgs; [ firmwareLinuxNonfree ]; hardware.firmware = with pkgs; [ firmwareLinuxNonfree ];

View file

@ -103,8 +103,6 @@
extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
}; };
# Configure keymap in X11 # Configure keymap in X11
services.xserver.xkb.layout = "no"; services.xserver.xkb.layout = "no";
# services.xserver.xkb.options = "eurosign:e,caps:escape"; # services.xserver.xkb.options = "eurosign:e,caps:escape";
@ -151,6 +149,7 @@
]; ];
}; };
# ld # ld
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [ programs.nix-ld.libraries = with pkgs; [
@ -159,7 +158,6 @@
]; ];
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
kitty terminator kitty terminator
dbus dbus
@ -177,8 +175,6 @@
mc eza du-dust ripgrep mc eza du-dust ripgrep
nix-direnv nix-direnv
# Languages # Languages
zig zig
python3 python3Packages.pip python3 python3Packages.pip
@ -186,6 +182,9 @@
go gotools golint go gotools golint
rustup rustup
nodejs nodejs
dotnet-sdk
dotnet-runtime
# language servers # language servers
csharp-ls csharp-ls
zls zls