Standardize more paths and such

This commit is contained in:
Bun 2025-04-29 21:30:44 -04:00
parent dbd5ea69cd
commit def300827a
5 changed files with 12 additions and 8 deletions

View file

@ -1,4 +1,4 @@
{ lib, nur, ... }:
{ lib, ... }:
{
imports = [
./files
@ -8,7 +8,6 @@
./user
./variables
./wms
nur.modules.homeManager.default
];
options.home = with lib; {

View file

@ -1,8 +1,9 @@
{ ... }:
{ nur, ... }:
{
imports = [
./gui
./terminal
./misc
nur.modules.homeManager.default
];
}

View file

@ -6,6 +6,9 @@
qbittorrent
vesktop
];
persistence."/persist${config.home.homeDirectory}".directories = [ ".config/vesktop" ];
persistence."/persist${config.home.homeDirectory}".directories = [
".config/qBittorrent"
".config/vesktop"
];
};
}

View file

@ -1,7 +1,8 @@
{ config, lib, ... }:
{
options.nixpkgs.allowUnfreePackages = lib.mkOption {
type = with lib.types; listOf str;
with lib; {
options.nixpkgs.allowUnfreePackages = mkOption {
type = types.listOf types.str;
default = [];
};
config.nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowUnfreePackages;