summaryrefslogtreecommitdiff
path: root/hosts/microwave/configuration.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2022-07-15 05:05:04 +0200
committerGrigory Shipunov2022-07-15 05:05:04 +0200
commitd6f68400730ba7c3fead87920bcdc9d6eded1f4f (patch)
treef4ceda44981fa0d4dea14835bf6da08264541bd8 /hosts/microwave/configuration.nix
parent921677a401505f06fc3b806566c68be61108f58c (diff)
update hardware
Diffstat (limited to 'hosts/microwave/configuration.nix')
-rw-r--r--hosts/microwave/configuration.nix25
1 files changed, 19 insertions, 6 deletions
diff --git a/hosts/microwave/configuration.nix b/hosts/microwave/configuration.nix
index 35c88f2..9ae9c2d 100644
--- a/hosts/microwave/configuration.nix
+++ b/hosts/microwave/configuration.nix
@@ -27,17 +27,29 @@
services.fstrim.enable = true;
boot = {
- supportedFilesystems = [ "btrfs" ];
-
- # use systemd boot by default
loader = {
- systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
+ grub = {
+ enable = true;
+ efiSupport = true;
+ device = "nodev";
+ };
};
- tmpOnTmpfs = true;
+ supportedFilesystems = [ "zfs" ];
+ kernelParams = [ "nohibernate" ];
+ zfs.devNodes = "/dev/";
plymouth.enable = false;
};
+ services.zfs = {
+ trim.enable = true;
+ autoScrub = {
+ enable = true;
+ pools = [ "rpool" ];
+ };
+ autoSnapshot.enable = true;
+ };
+
# update the microcode
hardware.cpu.intel.updateMicrocode = true;
hardware.enableAllFirmware = true;
@@ -74,6 +86,7 @@
enable = true;
package = pkgs.wireshark;
};
+ time.timeZone = "Europe/Berlin";
programs.steam.enable = true;
@@ -83,7 +96,7 @@
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
- system.stateVersion = "22.05"; # Did you read the comment?
+ system.stateVersion = "22.11"; # Did you read the comment?
}