mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-19 01:21:39 +01:00
configured impermanence for the nuc
This commit is contained in:
parent
d08a5e1c8e
commit
63605568c6
6 changed files with 17 additions and 10 deletions
|
@ -90,6 +90,7 @@
|
|||
modules = [
|
||||
nixos-hardware.nixosModules.intel-nuc-8i7beh
|
||||
nix-index-database.nixosModules.nix-index
|
||||
impermanence.nixosModules.impermanence
|
||||
./hosts/nuc
|
||||
./shared
|
||||
sops-nix.nixosModules.sops
|
||||
|
|
|
@ -26,6 +26,15 @@
|
|||
cores = 3;
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
environment.persistence."/nix/persist/system" = {
|
||||
directories = [
|
||||
"/etc/nixos"
|
||||
"/etc/ssh"
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
];
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
|
||||
fileSystems."/" =
|
||||
{
|
||||
device = "/dev/disk/by-uuid/16b0bd14-1b07-477d-a20d-982f9467f6df";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" "compress=zstd" "discard=async" "noatime" ];
|
||||
device = "tmpfs";
|
||||
fsType = "tmpfs";
|
||||
options = [ "mode=755" ];
|
||||
};
|
||||
|
||||
fileSystems."/var/lib" =
|
||||
|
@ -35,11 +35,11 @@
|
|||
options = [ "subvol=log" "compress=zstd" "discard=async" "noatime" ];
|
||||
};
|
||||
|
||||
fileSystems."/nix/store" =
|
||||
fileSystems."/nix" =
|
||||
{
|
||||
device = "/dev/disk/by-uuid/16b0bd14-1b07-477d-a20d-982f9467f6df";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=store" "compress=zstd" "discard=async" "noatime" ];
|
||||
options = [ "subvol=nix" "compress=zstd" "discard=async" "noatime" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
{
|
||||
device = "tmpfs";
|
||||
fsType = "tmpfs";
|
||||
options = [ "size=3G" "mode=755" ];
|
||||
options = [ "mode=755" ];
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ./hyprland.conf; # todo nix config when available
|
||||
recommendedEnvironment = true;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
|
|
|
@ -35,10 +35,6 @@ in
|
|||
hostname = "192.168.10.2";
|
||||
user = "root";
|
||||
};
|
||||
"git@rfive.de" = {
|
||||
match = "Host rfive.de User git";
|
||||
identityFile = git;
|
||||
};
|
||||
"git@raspi" = {
|
||||
match = "Host raspi User git";
|
||||
identityFile = git;
|
||||
|
|
Loading…
Reference in a new issue