diff options
Diffstat (limited to 'accounts/gkleen@skadhi/default.nix')
| -rw-r--r-- | accounts/gkleen@skadhi/default.nix | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/accounts/gkleen@skadhi/default.nix b/accounts/gkleen@skadhi/default.nix index 9c3d53b9..99a592c5 100644 --- a/accounts/gkleen@skadhi/default.nix +++ b/accounts/gkleen@skadhi/default.nix | |||
| @@ -1,9 +1,11 @@ | |||
| 1 | { flake, flakeInputs, userName, config, pkgs, lib, sources, ... }: | 1 | { flake, flakeInputs, userName, config, pkgs, lib, customUtils, sources, ... }: |
| 2 | let | 2 | let |
| 3 | user = config.users.users.${userName}; | 3 | user = config.users.users.${userName}; |
| 4 | in { | 4 | in { |
| 5 | imports = (with flake.nixosModules.userProfiles.${userName}; [ | 5 | imports = [ |
| 6 | zsh mpv yt-dlp ./greetd.nix | 6 | ./greetd.nix ./rzm |
| 7 | ] ++ (with flake.nixosModules.userProfiles.${userName}; [ | ||
| 8 | zsh mpv yt-dlp | ||
| 7 | ]) ++ (with flake.nixosModules.systemProfiles; [ | 9 | ]) ++ (with flake.nixosModules.systemProfiles; [ |
| 8 | niri-unstable | 10 | niri-unstable |
| 9 | flakeInputs.nixVirt.nixosModules.default | 11 | flakeInputs.nixVirt.nixosModules.default |
| @@ -53,18 +55,23 @@ in { | |||
| 53 | gcr_4 | 55 | gcr_4 |
| 54 | ]; | 56 | ]; |
| 55 | 57 | ||
| 58 | nixpkgs.externalConfig.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ | ||
| 59 | "zoom" | ||
| 60 | ]; | ||
| 61 | |||
| 56 | home-manager.users.${userName} = { sysConfig, config, ... }: { | 62 | home-manager.users.${userName} = { sysConfig, config, ... }: { |
| 57 | imports = [ | 63 | imports = [ |
| 58 | flakeInputs.nix-index-database.homeModules.nix-index | 64 | flakeInputs.nix-index-database.homeModules.nix-index |
| 59 | ./niri.nix ./shell ./emacs ./zsh ./ssh | 65 | ./niri.nix ./shell ./emacs ./zsh ./ssh ./keepassxc.nix ./firefox |
| 60 | ]; | 66 | ]; |
| 61 | 67 | ||
| 62 | home.stateVersion = "26.05"; | 68 | home.stateVersion = "26.05"; |
| 63 | 69 | ||
| 64 | home.persistence."/persistent" = { | 70 | home.persistence."/persistent" = { |
| 65 | directories = [ | 71 | directories = [ |
| 66 | "Downloads" "documents" "screenshots" "media" | 72 | "Downloads" "documents" "screenshots" "media" "projects" |
| 67 | ".ssh" ".local/share/direnv" | 73 | ".local/share/direnv" |
| 74 | ".config/Element" ".thunderbird" | ||
| 68 | ]; | 75 | ]; |
| 69 | }; | 76 | }; |
| 70 | 77 | ||
| @@ -197,8 +204,15 @@ in { | |||
| 197 | qt.enable = true; | 204 | qt.enable = true; |
| 198 | qt.platformTheme.name = "gtk"; | 205 | qt.platformTheme.name = "gtk"; |
| 199 | 206 | ||
| 207 | qt.kde.settings.kwalletrc = { | ||
| 208 | KSecretD.Enabled = false; | ||
| 209 | Wallet."Default Wallet" = "store"; | ||
| 210 | }; | ||
| 211 | |||
| 200 | home.sessionVariables = { | 212 | home.sessionVariables = { |
| 201 | QT_QPA_PLATFORMTHEME = lib.mkForce "gtk3"; | 213 | QT_QPA_PLATFORMTHEME = lib.mkForce "gtk3"; |
| 214 | SYSTEMD_ADJUST_TERMINAL_TITLE = "false"; | ||
| 215 | SYSTEMD_TINT_BACKGROUND = "false"; | ||
| 202 | }; | 216 | }; |
| 203 | home.extraProfileCommands = '' | 217 | home.extraProfileCommands = '' |
| 204 | export XDG_DATA_DIRS="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}''${XDG_DATA_DIRS:+:''${XDG_DATA_DIRS}}" | 218 | export XDG_DATA_DIRS="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}''${XDG_DATA_DIRS:+:''${XDG_DATA_DIRS}}" |
| @@ -254,6 +268,22 @@ in { | |||
| 254 | }; | 268 | }; |
| 255 | }; | 269 | }; |
| 256 | }; | 270 | }; |
| 271 | |||
| 272 | home.packages = with pkgs; [ | ||
| 273 | pwvucontrol wl-clipboard-rs element-desktop thunderbird | ||
| 274 | papers zoom-us wireshark virt-manager rclone worktime | ||
| 275 | libreoffice sieve-connect gimp3 inkscape glab remmina openscad | ||
| 276 | spice-record libation gnucash | ||
| 277 | ] ++ lib.mapAttrsToList (_name: pkg: pkgs.callPackage pkg { inherit sources flake flakeInputs; }) (customUtils.nixImport { dir = ./utils; }); | ||
| 278 | |||
| 279 | dconf.settings = { | ||
| 280 | "org/gnome/desktop/interface".color-scheme = "prefer-dark"; | ||
| 281 | }; | ||
| 282 | |||
| 283 | services.etesync-dav = { | ||
| 284 | enable = true; | ||
| 285 | serverUrl = "https://etesync.yggdrasil.li"; | ||
| 286 | }; | ||
| 257 | }; | 287 | }; |
| 258 | }; | 288 | }; |
| 259 | } | 289 | } |
