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
./playerctld.nix
./rofi.nix
# ./sops.nix
./sops.nix
./stylix.nix
./zsh
];

View file

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

View file

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

View file

@ -3,7 +3,7 @@
sops-nix,
...
}: {
imports = [sops-nix.homeManagerModules.sops];
# imports = [sops-nix.homeManagerModules.sops];
sops = {
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];
gaming.enable = false;
config.gaming.enable = false;
}

View file

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