This commit is contained in:
Spectre 2024-06-07 18:14:25 +02:00
parent f04f858aeb
commit b1e6f4256f
7 changed files with 21 additions and 14 deletions

View file

@ -13,7 +13,7 @@
./persist.nix ./persist.nix
./playerctld.nix ./playerctld.nix
./rofi.nix ./rofi.nix
# ./sops.nix ./sops.nix
./stylix.nix ./stylix.nix
./zsh ./zsh
]; ];

View file

@ -1,5 +1,5 @@
{ {
conf, config,
pkgs, pkgs,
lib, lib,
... ...
@ -18,8 +18,7 @@
xdg-utils xdg-utils
hyprshot hyprshot
# obsidian obsidian
xournalpp
vlc vlc
keepassxc keepassxc
ncspot ncspot
@ -33,5 +32,5 @@
lutris lutris
]; ];
in in
common ++ (lib.optionals conf.gaming.enable gaming); common ++ (lib.optionals config.gaming.enable gaming);
} }

View file

@ -1,6 +1,6 @@
{ {
lib, lib,
conf, config,
... ...
}: { }: {
data = { data = {
@ -24,12 +24,12 @@
".config/spotify" ".config/spotify"
( (
lib.mkIf lib.mkIf
conf.gaming.enable config.gaming.enable
".local/share/PrismLauncher" ".local/share/PrismLauncher"
) )
( (
lib.mkIf lib.mkIf
conf.gaming.enable config.gaming.enable
".local/share/Steam" ".local/share/Steam"
) )
".local/state/wireplumber" ".local/state/wireplumber"

View file

@ -3,7 +3,7 @@
sops-nix, sops-nix,
... ...
}: { }: {
imports = [sops-nix.homeManagerModules.sops]; # imports = [sops-nix.homeManagerModules.sops];
sops = { sops = {
age.keyFile = "/persist/data${conf.home}/.config/sops/age/keys.txt"; age.keyFile = "/persist/data${conf.home}/.config/sops/age/keys.txt";
}; };

View file

@ -0,0 +1,8 @@
{pkgs, ...}: {
home.packages = [pkgs.xournalpp];
home.file.xournalpp = {
source = ./settings;
target = ".config/xournalpp";
recursive = true;
};
}

View file

@ -1,5 +1,5 @@
{conf, ...}: { {config, ...}: {
imports = [../../system]; imports = [../../system];
gaming.enable = false; config.gaming.enable = false;
} }

View file

@ -20,12 +20,12 @@
}; };
home-manager.users = let home-manager.users = let
hm = import ../home; hm = {user = [];}; # import ../home;
in { in {
${conf.user} = { ${conf.user} = {
imports = hm.user; imports = hm.user;
home.username = conf.user; # home.username = conf.user;
home.stateVersion = "24.11"; # home.stateVersion = "24.11";
}; };
}; };