This commit is contained in:
Lilith 2025-03-13 01:29:44 +01:00
parent f94de157a6
commit ec8fbeacc1
Signed by: lilith
GPG key ID: 8712A0F317C37175
9 changed files with 31 additions and 14 deletions

View file

@ -56,7 +56,7 @@
hostname: hostname:
let let
hardware = import ./hosts/${hostname}/hardware-configuration.nix; hardware = import ./hosts/${hostname}/hardware-configuration.nix;
args = builtins.functionArgs hardware // { lib.mkdefault = lib.id; }; args = builtins.functionArgs hardware // { lib.mkDefault = lib.id; };
in in
(hardware args).nixpkgs.hostPlatform; (hardware args).nixpkgs.hostPlatform;

View file

@ -1,9 +1,10 @@
{home-manager, lib, ...}: { { home-manager, sops-nix, ... } @ inputs: {
imports [ home-manager.nixosModules.home-manager ]; imports = [ home-manager.nixosModules.home-manager ];
home-manager.backupFileExtension = "bak"; home-manager.backupFileExtension = "bak";
home-manager.users."lilith" = { home-manager.users."lilith" = {
imports = [ imports = [
sops-nix.homeManagerModules.sops
./lilith ./lilith
]; ];

View file

@ -1,14 +1,14 @@
{ matshell, sops-nix, ...}: { { sops-nix, ...}: {
imports = [ imports = [
# ags.homeManagerModules.default # ags.homeManagerModules.default
matshell.homeManagerModules.default # matshell.homeManagerModules.default
sops-nix.homeManagerModules.sops # sops-nix.homeManagerModules.sops
# ./ags # ToDo: get codin :3 # ./ags # ToDo: get codin :3
./hyprland ./hyprland
./rofi.nix ./rofi.nix
./dunst.nix ./dunst.nix
./matshell.nix # ./matshell.nix
./env.nix ./env.nix

View file

@ -1,7 +1,7 @@
{ ... }: { ... }:
{ {
home.file.".config/hypr/wallpaper.png" = { home.file.".config/hypr/wallpaper.png" = {
source = ../../wallpapers/default.png; source = ../../../wallpapers/default.png;
}; };
services.hyprpaper = let services.hyprpaper = let

View file

@ -17,7 +17,6 @@
"obsidian" "obsidian"
"code" "code"
".keepass" ".keepass"
] ++ lib.optionals config.gaming.enable [
".local/share/PrismLauncher" ".local/share/PrismLauncher"
".local/share/Steam" ".local/share/Steam"
".local/share/lutris" ".local/share/lutris"
@ -34,7 +33,6 @@
".cargo" ".cargo"
".local/state/wireplumber" ".local/state/wireplumber"
"tmp" "tmp"
] ++ lib.optionals config.gaming.enable [
]; ];
files = []; files = [];
}; };

View file

@ -1,6 +1,8 @@
{ { ... }: {
... # imports = [
}: { # sops-nix.homeManagerModules.default
# ];
sops = { sops = {
age.keyFile = /persist/data/home/lilith/.config/sops/age/keys.txt; age.keyFile = /persist/data/home/lilith/.config/sops/age/keys.txt;
}; };

View file

@ -24,7 +24,6 @@
"nixos" "nixos"
"sync" "sync"
"obsidian"
"code" "code"
".keepass" ".keepass"
]; ];

View file

@ -15,5 +15,16 @@
"_netdev" "_netdev"
]; ];
}; };
fileSystems."/mnt/nas/torrent" = {
device = "nixserver:/torrent";
fsType = "nfs";
options = [
"nfsvers=4.2"
"noauto"
"x-systemd.automount"
"x-systemd.idle-timeout=600"
"_netdev"
];
};
}; };
} }

6
unfree.nix Normal file
View file

@ -0,0 +1,6 @@
{
allowed = [
"steam"
"steam-unwrapped"
];
}