mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
impermanence fixes
This commit is contained in:
parent
6e5876f2ff
commit
6da93d0250
5 changed files with 14 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
@ -32,6 +32,10 @@
|
|||
"/etc/machine-id"
|
||||
];
|
||||
};
|
||||
# impermanence fixes
|
||||
sops.age.sshKeyPaths = lib.mkForce [ "/nix/persist/system/etc/ssh/ssh_host_ed25519_key" ];
|
||||
sops.gnupg.sshKeyPaths = lib.mkForce [ ];
|
||||
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
@ -108,6 +112,7 @@
|
|||
fwupd.enable = true; # firmware updates
|
||||
};
|
||||
|
||||
# fun fact: if I disable this, Hyprland breaks due to missing egl dependencies
|
||||
programs.steam.enable = true; # putting steam in here cause in home manager it doesn't work
|
||||
|
||||
programs.ausweisapp = {
|
||||
|
|
|
@ -41,14 +41,14 @@
|
|||
{
|
||||
device = "/dev/disk/by-uuid/3d44cde5-17a2-4023-b9ae-3a02ae68aa81";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=lib" "compress=zstd" "discard=async" "noatime" ];
|
||||
options = [ "subvol=lib" "compress=zstd" "discard=async" "noatime" "x-mount.mkdir" ];
|
||||
};
|
||||
|
||||
fileSystems."/var/log" =
|
||||
{
|
||||
device = "/dev/disk/by-uuid/3d44cde5-17a2-4023-b9ae-3a02ae68aa81";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=log" "compress=zstd" "discard=async" "noatime" ];
|
||||
options = [ "subvol=log" "compress=zstd" "discard=async" "noatime" "x-mount.mkdir" ];
|
||||
};
|
||||
|
||||
fileSystems."/nix" =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue