hyprgrass

This commit is contained in:
Lilith 2025-03-17 21:04:49 +01:00
parent a22cc6450e
commit 1eb67ac0de
Signed by: lilith
GPG key ID: 8712A0F317C37175
7 changed files with 57 additions and 32 deletions

View file

@ -1,4 +1,5 @@
{...}: {
{ ... }:
{
nix = {
gc = {
automatic = true;
@ -8,8 +9,24 @@
settings = {
keep-outputs = true;
auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"];
trusted-users = ["root" "@wheel"];
experimental-features = [
"nix-command"
"flakes"
];
trusted-users = [
"root"
"@wheel"
];
builders-use-substitutes = true;
};
distributedBuilds = true;
buildMachines = [
{
hostName = "lilith-server-builder";
system = "x86_64-linux";
}
];
};
}

View file

@ -1,5 +1,12 @@
{impermanence, conf, lib, config, ...}: {
imports = [impermanence.nixosModule];
{
impermanence,
conf,
lib,
config,
...
}:
{
imports = [ impermanence.nixosModule ];
environment.persistence."/persist/data" = {
hideMounts = true;
@ -7,20 +14,20 @@
"/etc/NetworkManager/system-connections"
"/var/lib/bluetooth"
];
files = [];
files = [ ];
users.lilith = {
directories = [
".config/syncthing"
".config/sops"
".config/keepassxc"
".config/obsidian"
".config/vesktop"
".gnupg"
".ssh"
".thunderbird"
".mozilla"
".zen"
"nixos"
"sync"
@ -31,7 +38,7 @@
".local/share/lutris"
".local/share/games"
];
files = [];
files = [ ];
};
};
@ -45,9 +52,7 @@
"/var/lib/systemd/timers"
"/var/log"
];
files = [
"/etc/machine-id"
];
files = [ "/etc/machine-id" ];
users.lilith = {
directories = [
@ -55,9 +60,8 @@
".cache/keepassxc"
".cargo"
".local/state/wireplumber"
"tmp"
];
files = [];
files = [ ];
};
};
}

View file

@ -14,6 +14,9 @@
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
programs.ssh = {
extraConfig = ''
Host lilith-server-builder
HostName 2a01:4f9:4a:1ecb::2