some refactoring

This commit is contained in:
cnst
2024-10-13 18:09:15 +02:00
parent 25a3fed51c
commit 084bc3b34f
125 changed files with 437 additions and 370 deletions

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.browsers.chromium; cfg = config.userModules.browsers.chromium;
in { in {
options = { options = {
modules.browsers.chromium.enable = mkEnableOption "Enables chromium"; userModules.browsers.chromium.enable = mkEnableOption "Enables chromium";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.chromium = { programs.chromium = {

View File

@@ -6,13 +6,13 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.browsers.firefox; cfg = config.userModules.browsers.firefox;
in { in {
imports = [ imports = [
inputs.nur.hmModules.nur inputs.nur.hmModules.nur
]; ];
options = { options = {
modules.browsers.firefox.enable = mkEnableOption "Enables firefox"; userModules.browsers.firefox.enable = mkEnableOption "Enables firefox";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.firefox = { programs.firefox = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.comm.discord; cfg = config.userModules.comm.discord;
in { in {
options = { options = {
modules.comm.discord.enable = mkEnableOption "Enables discord"; userModules.comm.discord.enable = mkEnableOption "Enables discord";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [vesktop]; home.packages = with pkgs; [vesktop];

View File

@@ -1,36 +1,36 @@
{userModules, ...}: { {umodPath, ...}: {
imports = [ imports = [
"${userModules}/browsers/chromium" "${umodPath}/browsers/chromium"
"${userModules}/browsers/firefox" "${umodPath}/browsers/firefox"
"${userModules}/comm/discord" "${umodPath}/comm/discord"
"${userModules}/devtools/neovim" "${umodPath}/devtools/neovim"
"${userModules}/devtools/vscode" "${umodPath}/devtools/vscode"
"${userModules}/devtools/helix" "${umodPath}/devtools/helix"
"${userModules}/gaming/lutris" "${umodPath}/gaming/lutris"
"${userModules}/gaming/mangohud" "${umodPath}/gaming/mangohud"
"${userModules}/terminal/alacritty" "${umodPath}/terminal/alacritty"
"${userModules}/terminal/foot" "${umodPath}/terminal/foot"
"${userModules}/terminal/kitty" "${umodPath}/terminal/kitty"
"${userModules}/terminal/wezterm" "${umodPath}/terminal/wezterm"
"${userModules}/terminal/zellij" "${umodPath}/terminal/zellij"
"${userModules}/userd/copyq" "${umodPath}/userd/copyq"
"${userModules}/userd/blueman-applet" "${umodPath}/userd/blueman-applet"
"${userModules}/userd/mako" "${umodPath}/userd/mako"
"${userModules}/userd/udiskie" "${umodPath}/userd/udiskie"
"${userModules}/userd/gpg" "${umodPath}/userd/gpg"
"${userModules}/userd/syncthing" "${umodPath}/userd/syncthing"
"${userModules}/utils/anyrun" "${umodPath}/utils/anyrun"
"${userModules}/utils/misc" "${umodPath}/utils/misc"
"${userModules}/utils/rofi" "${umodPath}/utils/rofi"
"${userModules}/utils/waybar" "${umodPath}/utils/waybar"
"${userModules}/utils/yazi" "${umodPath}/utils/yazi"
"${userModules}/utils/zathura" "${umodPath}/utils/zathura"
"${userModules}/utils/tuirun" "${umodPath}/utils/tuirun"
"${userModules}/utils/eza" "${umodPath}/utils/eza"
"${userModules}/utils/ssh" "${umodPath}/utils/ssh"
"${userModules}/wm/hyprland" "${umodPath}/wm/hyprland"
"${userModules}/wm/utils/hypridle" "${umodPath}/wm/utils/hypridle"
"${userModules}/wm/utils/hyprlock" "${umodPath}/wm/utils/hyprlock"
"${userModules}/wm/utils/hyprpaper" "${umodPath}/wm/utils/hyprpaper"
]; ];
} }

View File

@@ -6,7 +6,7 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.devtools.helix; cfg = config.userModules.devtools.helix;
in { in {
imports = [ imports = [
./lang.nix ./lang.nix
@@ -14,7 +14,7 @@ in {
]; ];
options = { options = {
modules.devtools.helix.enable = mkEnableOption "Enable helix"; userModules.devtools.helix.enable = mkEnableOption "Enable helix";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -5,7 +5,7 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.devtools.neovim; cfg = config.userModules.devtools.neovim;
in { in {
imports = [ imports = [
./plugins ./plugins
@@ -15,7 +15,7 @@ in {
]; ];
options = { options = {
modules.devtools.neovim.enable = mkEnableOption "Enable neovim"; userModules.devtools.neovim.enable = mkEnableOption "Enable neovim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -6,7 +6,7 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.devtools.nixvim; cfg = config.userModules.devtools.nixvim;
in { in {
imports = [ imports = [
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
@@ -18,7 +18,7 @@ in {
]; ];
options = { options = {
modules.devtools.nixvim.enable = mkEnableOption "Enable nixvim"; userModules.devtools.nixvim.enable = mkEnableOption "Enable nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.barbar; cfg = config.userModules.devtools.nixvim.plugins.barbar;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.barbar.enable = mkEnableOption "Enables Barbar plugin for nixvim"; userModules.devtools.nixvim.plugins.barbar.enable = mkEnableOption "Enables Barbar plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.cmp; cfg = config.userModules.devtools.nixvim.plugins.cmp;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.cmp.enable = mkEnableOption "Enables completion plugin for nixvim"; userModules.devtools.nixvim.plugins.cmp.enable = mkEnableOption "Enables completion plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.comment; cfg = config.userModules.devtools.nixvim.plugins.comment;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.comment.enable = mkEnableOption "Enables Comment plugin for nixvim"; userModules.devtools.nixvim.plugins.comment.enable = mkEnableOption "Enables Comment plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.conform; cfg = config.userModules.devtools.nixvim.plugins.conform;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.conform.enable = mkEnableOption "Enables Conform plugin for nixvim"; userModules.devtools.nixvim.plugins.conform.enable = mkEnableOption "Enables Conform plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.copilot; cfg = config.userModules.devtools.nixvim.plugins.copilot;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.copilot.enable = mkEnableOption "Enables AI tools for nixvim"; userModules.devtools.nixvim.plugins.copilot.enable = mkEnableOption "Enables AI tools for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -1,25 +1,25 @@
{userModules, ...}: { {umodPath, ...}: {
imports = [ imports = [
"${userModules}/devtools/nixvim/plugins/barbar.nix" "${umodPath}/devtools/nixvim/plugins/barbar.nix"
"${userModules}/devtools/nixvim/plugins/comment.nix" "${umodPath}/devtools/nixvim/plugins/comment.nix"
"${userModules}/devtools/nixvim/plugins/conform.nix" "${umodPath}/devtools/nixvim/plugins/conform.nix"
"${userModules}/devtools/nixvim/plugins/cmp.nix" "${umodPath}/devtools/nixvim/plugins/cmp.nix"
"${userModules}/devtools/nixvim/plugins/copilot.nix" "${umodPath}/devtools/nixvim/plugins/copilot.nix"
"${userModules}/devtools/nixvim/plugins/efm.nix" "${umodPath}/devtools/nixvim/plugins/efm.nix"
"${userModules}/devtools/nixvim/plugins/floaterm.nix" "${umodPath}/devtools/nixvim/plugins/floaterm.nix"
"${userModules}/devtools/nixvim/plugins/harpoon.nix" "${umodPath}/devtools/nixvim/plugins/harpoon.nix"
"${userModules}/devtools/nixvim/plugins/lsp.nix" "${umodPath}/devtools/nixvim/plugins/lsp.nix"
"${userModules}/devtools/nixvim/plugins/lualine.nix" "${umodPath}/devtools/nixvim/plugins/lualine.nix"
"${userModules}/devtools/nixvim/plugins/lightline.nix" "${umodPath}/devtools/nixvim/plugins/lightline.nix"
"${userModules}/devtools/nixvim/plugins/markdown-preview.nix" "${umodPath}/devtools/nixvim/plugins/markdown-preview.nix"
"${userModules}/devtools/nixvim/plugins/neo-tree.nix" "${umodPath}/devtools/nixvim/plugins/neo-tree.nix"
"${userModules}/devtools/nixvim/plugins/nonels.nix" "${umodPath}/devtools/nixvim/plugins/nonels.nix"
"${userModules}/devtools/nixvim/plugins/rustaceanvim.nix" "${umodPath}/devtools/nixvim/plugins/rustaceanvim.nix"
"${userModules}/devtools/nixvim/plugins/startify.nix" "${umodPath}/devtools/nixvim/plugins/startify.nix"
"${userModules}/devtools/nixvim/plugins/tagbar.nix" "${umodPath}/devtools/nixvim/plugins/tagbar.nix"
"${userModules}/devtools/nixvim/plugins/telescope.nix" "${umodPath}/devtools/nixvim/plugins/telescope.nix"
"${userModules}/devtools/nixvim/plugins/treesitter.nix" "${umodPath}/devtools/nixvim/plugins/treesitter.nix"
"${userModules}/devtools/nixvim/plugins/vimtex.nix" "${umodPath}/devtools/nixvim/plugins/vimtex.nix"
"${userModules}/devtools/nixvim/plugins/yanky.nix" "${umodPath}/devtools/nixvim/plugins/yanky.nix"
]; ];
} }

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.efm; cfg = config.userModules.devtools.nixvim.plugins.efm;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.efm.enable = mkEnableOption "Enables EFM LSP support for nixvim"; userModules.devtools.nixvim.plugins.efm.enable = mkEnableOption "Enables EFM LSP support for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.floaterm; cfg = config.userModules.devtools.nixvim.plugins.floaterm;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.floaterm.enable = mkEnableOption "Enables Floaterm plugin for nixvim"; userModules.devtools.nixvim.plugins.floaterm.enable = mkEnableOption "Enables Floaterm plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.harpoon; cfg = config.userModules.devtools.nixvim.plugins.harpoon;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.harpoon.enable = mkEnableOption "Enables Harpoon plugin for nixvim"; userModules.devtools.nixvim.plugins.harpoon.enable = mkEnableOption "Enables Harpoon plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.lightline; cfg = config.userModules.devtools.nixvim.plugins.lightline;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.lightline.enable = mkEnableOption "Enables lightline plugin for nixvim"; userModules.devtools.nixvim.plugins.lightline.enable = mkEnableOption "Enables lightline plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.lsp-format; cfg = config.userModules.devtools.nixvim.plugins.lsp-format;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.lsp-format = { userModules.devtools.nixvim.plugins.lsp-format = {
enable = mkEnableOption "Enables LSP formatting support for nixvim"; enable = mkEnableOption "Enables LSP formatting support for nixvim";
}; };
}; };

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.lsp; cfg = config.userModules.devtools.nixvim.plugins.lsp;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.lsp = { userModules.devtools.nixvim.plugins.lsp = {
enable = mkEnableOption "Enables LSP support for nixvim"; enable = mkEnableOption "Enables LSP support for nixvim";
}; };
}; };

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.lualine; cfg = config.userModules.devtools.nixvim.plugins.lualine;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.lualine.enable = mkEnableOption "Enables Lualine plugin for nixvim"; userModules.devtools.nixvim.plugins.lualine.enable = mkEnableOption "Enables Lualine plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.markdown-preview; cfg = config.userModules.devtools.nixvim.plugins.markdown-preview;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.markdown-preview.enable = mkEnableOption "Enables Markdown Preview plugin for nixvim"; userModules.devtools.nixvim.plugins.markdown-preview.enable = mkEnableOption "Enables Markdown Preview plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.neo-tree; cfg = config.userModules.devtools.nixvim.plugins.neo-tree;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.neo-tree.enable = mkEnableOption "Enables neo-tree plugin for nixvim"; userModules.devtools.nixvim.plugins.neo-tree.enable = mkEnableOption "Enables neo-tree plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.none-ls; cfg = config.userModules.devtools.nixvim.plugins.none-ls;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.none-ls.enable = mkEnableOption "Enables None-LS plugin for nixvim"; userModules.devtools.nixvim.plugins.none-ls.enable = mkEnableOption "Enables None-LS plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,9 +4,9 @@
... ...
}: }:
with lib; let with lib; let
cfg = config.modules.devtools.nixvim.plugins.rustaceanvim; cfg = config.userModules.devtools.nixvim.plugins.rustaceanvim;
in { in {
options.modules.devtools.nixvim.plugins.rustaceanvim = { options.userModules.devtools.nixvim.plugins.rustaceanvim = {
enable = mkEnableOption "Whether to enable rustaceanvim."; enable = mkEnableOption "Whether to enable rustaceanvim.";
}; };

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.startify; cfg = config.userModules.devtools.nixvim.plugins.startify;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.startify.enable = mkEnableOption "Enables Startify plugin for nixvim"; userModules.devtools.nixvim.plugins.startify.enable = mkEnableOption "Enables Startify plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.tagbar; cfg = config.userModules.devtools.nixvim.plugins.tagbar;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.tagbar.enable = mkEnableOption "Enables Tagbar plugin for nixvim"; userModules.devtools.nixvim.plugins.tagbar.enable = mkEnableOption "Enables Tagbar plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.telescope; cfg = config.userModules.devtools.nixvim.plugins.telescope;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.telescope.enable = mkEnableOption "Enables Telescope plugin for nixvim"; userModules.devtools.nixvim.plugins.telescope.enable = mkEnableOption "Enables Telescope plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.treesitter; cfg = config.userModules.devtools.nixvim.plugins.treesitter;
in { in {
options = { options = {
modules.devtools.nixvim.plugins = { userModules.devtools.nixvim.plugins = {
treesitter.enable = mkEnableOption "Enables Treesitter plugin for nixvim"; treesitter.enable = mkEnableOption "Enables Treesitter plugin for nixvim";
}; };
}; };

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.vimtex; cfg = config.userModules.devtools.nixvim.plugins.vimtex;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.vimtex.enable = mkEnableOption "Enables VimTeX plugin for nixvim"; userModules.devtools.nixvim.plugins.vimtex.enable = mkEnableOption "Enables VimTeX plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.nixvim.plugins.yanky; cfg = config.userModules.devtools.nixvim.plugins.yanky;
in { in {
options = { options = {
modules.devtools.nixvim.plugins.yanky.enable = mkEnableOption "Enables Yanky plugin for nixvim"; userModules.devtools.nixvim.plugins.yanky.enable = mkEnableOption "Enables Yanky plugin for nixvim";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.devtools.vscode; cfg = config.userModules.devtools.vscode;
in { in {
options = { options = {
modules.devtools.vscode.enable = mkEnableOption "Enables vscode"; userModules.devtools.vscode.enable = mkEnableOption "Enables vscode";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.vscode = { programs.vscode = {

View File

@@ -0,0 +1,60 @@
{
lib,
config,
...
}: let
inherit (lib) mkOption types;
cfg = config.userModules.display.monitors;
in {
options.userModules.display.monitors = mkOption {
type = types.listOf (
types.submodule {
options = {
name = mkOption {
type = types.str;
example = "DP-1";
};
primary = mkOption {
type = types.bool;
default = false;
};
width = mkOption {
type = types.int;
example = 1920;
};
height = mkOption {
type = types.int;
example = 1080;
};
refreshRate = mkOption {
type = types.int;
default = 60;
};
position = mkOption {
type = types.str;
default = "auto";
};
enabled = mkOption {
type = types.bool;
default = true;
};
workspace = mkOption {
type = types.nullOr types.str;
default = null;
};
};
}
);
default = [];
};
config = {
assertions = [
{
assertion =
((lib.length cfg) != 0)
-> ((lib.length (lib.filter (m: m.primary) cfg)) == 1);
message = "Exactly one monitor must be set to primary.";
}
];
};
}

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.gaming.lutris; cfg = config.userModules.gaming.lutris;
in { in {
options = { options = {
modules.gaming.lutris.enable = mkEnableOption "Enables lutris"; userModules.gaming.lutris.enable = mkEnableOption "Enables lutris";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = [ home.packages = [

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.gaming.mangohud; cfg = config.userModules.gaming.mangohud;
in { in {
options = { options = {
modules.gaming.mangohud.enable = mkEnableOption "Enables mangohud"; userModules.gaming.mangohud.enable = mkEnableOption "Enables mangohud";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.mangohud = { programs.mangohud = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.terminal.alacritty; cfg = config.userModules.terminal.alacritty;
in { in {
options = { options = {
modules.terminal.alacritty.enable = mkEnableOption "Enables firefox"; userModules.terminal.alacritty.enable = mkEnableOption "Enables firefox";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.alacritty = { programs.alacritty = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.terminal.foot; cfg = config.userModules.terminal.foot;
in { in {
options = { options = {
modules.terminal.foot.enable = mkEnableOption "Enables foot terminal"; userModules.terminal.foot.enable = mkEnableOption "Enables foot terminal";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.foot = { programs.foot = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.terminal.kitty; cfg = config.userModules.terminal.kitty;
in { in {
options = { options = {
modules.terminal.kitty.enable = mkEnableOption "Enables kitty terminal"; userModules.terminal.kitty.enable = mkEnableOption "Enables kitty terminal";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.kitty = { programs.kitty = {

View File

@@ -9,10 +9,10 @@
weztermPkg = pkgs.wezterm; weztermPkg = pkgs.wezterm;
# weztermFlake = inputs.wezterm.packages.${pkgs.system}.default; # weztermFlake = inputs.wezterm.packages.${pkgs.system}.default;
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.terminal.wezterm; cfg = config.userModules.terminal.wezterm;
in { in {
options = { options = {
modules.terminal.wezterm.enable = mkEnableOption "Enables wezterm terminal"; userModules.terminal.wezterm.enable = mkEnableOption "Enables wezterm terminal";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.wezterm = { programs.wezterm = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.terminal.zellij; cfg = config.userModules.terminal.zellij;
in { in {
options = { options = {
modules.terminal.zellij.enable = mkEnableOption "Enables zellij"; userModules.terminal.zellij.enable = mkEnableOption "Enables zellij";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.zellij = { programs.zellij = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.userd.blueman-applet; cfg = config.userModules.userd.blueman-applet;
in { in {
options = { options = {
modules.userd.blueman-applet.enable = mkEnableOption "Enables blueman-applet"; userModules.userd.blueman-applet.enable = mkEnableOption "Enables blueman-applet";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.blueman-applet = { services.blueman-applet = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.userd.copyq; cfg = config.userModules.userd.copyq;
in { in {
options = { options = {
modules.userd.copyq.enable = mkEnableOption "Enables copyq"; userModules.userd.copyq.enable = mkEnableOption "Enables copyq";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.copyq = { services.copyq = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.userd.gpg; cfg = config.userModules.userd.gpg;
in { in {
options = { options = {
modules.userd.gpg.enable = mkEnableOption "Enables gpg"; userModules.userd.gpg.enable = mkEnableOption "Enables gpg";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.gpg-agent = { services.gpg-agent = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.userd.mako; cfg = config.userModules.userd.mako;
in { in {
options = { options = {
modules.userd.mako.enable = mkEnableOption "Enables mako"; userModules.userd.mako.enable = mkEnableOption "Enables mako";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.mako = { services.mako = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.userd.syncthing; cfg = config.userModules.userd.syncthing;
in { in {
options = { options = {
modules.userd.syncthing.enable = mkEnableOption "Enables syncthing"; userModules.userd.syncthing.enable = mkEnableOption "Enables syncthing";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.syncthing = { services.syncthing = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.userd.udiskie; cfg = config.userModules.userd.udiskie;
in { in {
options = { options = {
modules.userd.udiskie.enable = mkEnableOption "Enables udiskie"; userModules.userd.udiskie.enable = mkEnableOption "Enables udiskie";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.udiskie = { services.udiskie = {

View File

@@ -5,13 +5,13 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.anyrun; cfg = config.userModules.utils.anyrun;
in { in {
imports = [ imports = [
inputs.anyrun.homeManagerModules.default inputs.anyrun.homeManagerModules.default
]; ];
options = { options = {
modules.utils.anyrun.enable = mkEnableOption "Enables anyrun"; userModules.utils.anyrun.enable = mkEnableOption "Enables anyrun";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.anyrun = { programs.anyrun = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.eza; cfg = config.userModules.utils.eza;
in { in {
options = { options = {
modules.utils.eza.enable = mkEnableOption "Enables eza"; userModules.utils.eza.enable = mkEnableOption "Enables eza";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.eza = { programs.eza = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.misc; cfg = config.userModules.utils.misc;
in { in {
options = { options = {
modules.utils.misc.enable = mkEnableOption "Enables miscellaneous utility apps"; userModules.utils.misc.enable = mkEnableOption "Enables miscellaneous utility apps";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs = { programs = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.rofi; cfg = config.userModules.utils.rofi;
in { in {
options = { options = {
modules.utils.rofi.enable = mkEnableOption "Enables firefox"; userModules.utils.rofi.enable = mkEnableOption "Enables firefox";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.rofi = { programs.rofi = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.ssh; cfg = config.userModules.utils.ssh;
in { in {
options = { options = {
modules.utils.ssh.enable = mkEnableOption "Enables ssh"; userModules.utils.ssh.enable = mkEnableOption "Enables ssh";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.ssh = { programs.ssh = {

View File

@@ -6,13 +6,13 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.tuirun; cfg = config.userModules.utils.tuirun;
in { in {
imports = [ imports = [
inputs.tuirun.homeManagerModules.default inputs.tuirun.homeManagerModules.default
]; ];
options = { options = {
modules.utils.tuirun.enable = mkEnableOption "Enables tuirun"; userModules.utils.tuirun.enable = mkEnableOption "Enables tuirun";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.tuirun = { programs.tuirun = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.waybar; cfg = config.userModules.utils.waybar;
in { in {
options = { options = {
modules.utils.waybar.enable = mkEnableOption "Enables waybar"; userModules.utils.waybar.enable = mkEnableOption "Enables waybar";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
systemd.user.services.waybar = { systemd.user.services.waybar = {

View File

@@ -5,14 +5,14 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.yazi; cfg = config.userModules.utils.yazi;
in { in {
imports = [ imports = [
./theme ./theme
]; ];
options = { options = {
modules.utils.yazi.enable = mkEnableOption "Enables yazi"; userModules.utils.yazi.enable = mkEnableOption "Enables yazi";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.yazi = { programs.yazi = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.zathura; cfg = config.userModules.utils.zathura;
in { in {
options = { options = {
modules.utils.zathura.enable = mkEnableOption "Enables zathura"; userModules.utils.zathura.enable = mkEnableOption "Enables zathura";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.zathura = { programs.zathura = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.cnst.appearance; cfg = config.userModules.wm.hyprland.cnst.appearance;
in { in {
options = { options = {
modules.wm.hyprland.cnst.appearance.enable = mkEnableOption "Enables appearance settings in Hyprland"; userModules.wm.hyprland.cnst.appearance.enable = mkEnableOption "Enables appearance settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -3,26 +3,26 @@
config, config,
lib, lib,
pkgs, pkgs,
userModules, umodPath,
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption mkDefault; inherit (lib) mkIf mkEnableOption mkDefault;
cfg = config.modules.wm.hyprland.cnst; cfg = config.userModules.wm.hyprland.cnst;
in { in {
imports = [ imports = [
"${userModules}/wm/hyprland/cnst/appearance.nix" "${umodPath}/wm/hyprland/cnst/appearance.nix"
"${userModules}/wm/hyprland/cnst/inputs.nix" "${umodPath}/wm/hyprland/cnst/inputs.nix"
"${userModules}/wm/hyprland/cnst/keybinds.nix" "${umodPath}/wm/hyprland/cnst/keybinds.nix"
"${userModules}/wm/hyprland/cnst/rules.nix" "${umodPath}/wm/hyprland/cnst/rules.nix"
"${userModules}/wm/hyprland/cnst/startup.nix" "${umodPath}/wm/hyprland/cnst/startup.nix"
]; ];
options = { options = {
modules.wm.hyprland.cnst.enable = mkEnableOption "Enable Hyprland"; userModules.wm.hyprland.cnst.enable = mkEnableOption "Enable Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
modules.wm.hyprland.cnst = { userModules.wm.hyprland.cnst = {
appearance.enable = mkDefault cfg.enable; appearance.enable = mkDefault cfg.enable;
inputs.enable = mkDefault cfg.enable; inputs.enable = mkDefault cfg.enable;
keybinds.enable = mkDefault cfg.enable; keybinds.enable = mkDefault cfg.enable;

View File

@@ -4,15 +4,15 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.cnst.inputs; cfg = config.userModules.wm.hyprland.cnst.inputs;
in { in {
options = { options = {
modules.wm.hyprland.cnst.inputs.enable = mkEnableOption "Enables input settings in Hyprland"; userModules.wm.hyprland.cnst.inputs.enable = mkEnableOption "Enables input settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
monitor = [ monitor = [
"DP-3, 2560x1440@239.97, auto, auto, bitdepth, 10" "DP-3, 2560x1440@240, auto, auto, bitdepth, 10"
"eDP-1,1920x1200@60.02,auto,1" "eDP-1,1920x1200@60.02,auto,1"
]; ];
env = [ env = [
@@ -63,7 +63,7 @@ in {
workspace_swipe_create_new = true; workspace_swipe_create_new = true;
}; };
misc = { misc = {
vrr = 2; vrr = 0;
mouse_move_enables_dpms = 1; mouse_move_enables_dpms = 1;
key_press_enables_dpms = 0; key_press_enables_dpms = 0;
force_default_wallpaper = 0; force_default_wallpaper = 0;

View File

@@ -14,10 +14,10 @@
if osConfig.networking.hostName == "cnixpad" if osConfig.networking.hostName == "cnixpad"
then "foot" then "foot"
else "alacritty"; else "alacritty";
cfg = config.modules.wm.hyprland.cnst.keybinds; cfg = config.userModules.wm.hyprland.cnst.keybinds;
in { in {
options = { options = {
modules.wm.hyprland.cnst.keybinds.enable = mkEnableOption "Enables keybind settings in Hyprland"; userModules.wm.hyprland.cnst.keybinds.enable = mkEnableOption "Enables keybind settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.cnst.rules; cfg = config.userModules.wm.hyprland.cnst.rules;
in { in {
options = { options = {
modules.wm.hyprland.cnst.rules.enable = mkEnableOption "Enables window rule settings in Hyprland"; userModules.wm.hyprland.cnst.rules.enable = mkEnableOption "Enables window rule settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.cnst.startup; cfg = config.userModules.wm.hyprland.cnst.startup;
in { in {
options = { options = {
modules.wm.hyprland.cnst.startup.enable = mkEnableOption "Enables startup settings in Hyprland"; userModules.wm.hyprland.cnst.startup.enable = mkEnableOption "Enables startup settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -1,6 +1,6 @@
{userModules, ...}: { {umodPath, ...}: {
imports = [ imports = [
"${userModules}/wm/hyprland/cnst" "${umodPath}/wm/hyprland/cnst"
"${userModules}/wm/hyprland/toothpick" "${umodPath}/wm/hyprland/toothpick"
]; ];
} }

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.toothpick.appearance; cfg = config.userModules.wm.hyprland.toothpick.appearance;
in { in {
options = { options = {
modules.wm.hyprland.toothpick.appearance.enable = mkEnableOption "Enables appearance settings in Hyprland"; userModules.wm.hyprland.toothpick.appearance.enable = mkEnableOption "Enables appearance settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -3,26 +3,26 @@
config, config,
lib, lib,
pkgs, pkgs,
userModules, umodPath,
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption mkDefault; inherit (lib) mkIf mkEnableOption mkDefault;
cfg = config.modules.wm.hyprland.toothpick; cfg = config.userModules.wm.hyprland.toothpick;
in { in {
imports = [ imports = [
"${userModules}/wm/hyprland/toothpick/appearance.nix" "${umodPath}/wm/hyprland/toothpick/appearance.nix"
"${userModules}/wm/hyprland/toothpick/inputs.nix" "${umodPath}/wm/hyprland/toothpick/inputs.nix"
"${userModules}/wm/hyprland/toothpick/keybinds.nix" "${umodPath}/wm/hyprland/toothpick/keybinds.nix"
"${userModules}/wm/hyprland/toothpick/rules.nix" "${umodPath}/wm/hyprland/toothpick/rules.nix"
"${userModules}/wm/hyprland/toothpick/startup.nix" "${umodPath}/wm/hyprland/toothpick/startup.nix"
]; ];
options = { options = {
modules.wm.hyprland.toothpick.enable = mkEnableOption "Enable Hyprland"; userModules.wm.hyprland.toothpick.enable = mkEnableOption "Enable Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
modules.wm.hyprland.toothpick = { userModules.wm.hyprland.toothpick = {
appearance.enable = mkDefault cfg.enable; appearance.enable = mkDefault cfg.enable;
inputs.enable = mkDefault cfg.enable; inputs.enable = mkDefault cfg.enable;
keybinds.enable = mkDefault cfg.enable; keybinds.enable = mkDefault cfg.enable;

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.toothpick.inputs; cfg = config.userModules.wm.hyprland.toothpick.inputs;
in { in {
options = { options = {
modules.wm.hyprland.toothpick.inputs.enable = mkEnableOption "Enables input settings in Hyprland"; userModules.wm.hyprland.toothpick.inputs.enable = mkEnableOption "Enables input settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.toothpick.keybinds; cfg = config.userModules.wm.hyprland.toothpick.keybinds;
in { in {
options = { options = {
modules.wm.hyprland.toothpick.keybinds.enable = mkEnableOption "Enables keybind settings in Hyprland"; userModules.wm.hyprland.toothpick.keybinds.enable = mkEnableOption "Enables keybind settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.toothpick.rules; cfg = config.userModules.wm.hyprland.toothpick.rules;
in { in {
options = { options = {
modules.wm.hyprland.toothpick.rules.enable = mkEnableOption "Enables window rule settings in Hyprland"; userModules.wm.hyprland.toothpick.rules.enable = mkEnableOption "Enables window rule settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.toothpick.startup; cfg = config.userModules.wm.hyprland.toothpick.startup;
in { in {
options = { options = {
modules.wm.hyprland.toothpick.startup.enable = mkEnableOption "Enables startup settings in Hyprland"; userModules.wm.hyprland.toothpick.startup.enable = mkEnableOption "Enables startup settings in Hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@@ -6,13 +6,13 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.utils.hypridle; cfg = config.userModules.wm.utils.hypridle;
hypridleFlake = inputs.hypridle.packages.${pkgs.system}.hypridle; hypridleFlake = inputs.hypridle.packages.${pkgs.system}.hypridle;
# hypridlePkg = pkgs.hypridle; # hypridlePkg = pkgs.hypridle;
in { in {
options = { options = {
modules.wm.utils.hypridle.enable = mkEnableOption "Enables hypridle"; userModules.wm.utils.hypridle.enable = mkEnableOption "Enables hypridle";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.hypridle = { services.hypridle = {

View File

@@ -6,13 +6,13 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.utils.hyprlock; cfg = config.userModules.wm.utils.hyprlock;
hyprlockFlake = inputs.hyprlock.packages.${pkgs.system}.hyprlock; hyprlockFlake = inputs.hyprlock.packages.${pkgs.system}.hyprlock;
# hyprlockPkg = pkgs.hyprlock; # hyprlockPkg = pkgs.hyprlock;
in { in {
options = { options = {
modules.wm.utils.hyprlock.enable = mkEnableOption "Enables hyprlock"; userModules.wm.utils.hyprlock.enable = mkEnableOption "Enables hyprlock";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.hyprlock = { programs.hyprlock = {

View File

@@ -6,13 +6,13 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.utils.hyprpaper; cfg = config.userModules.wm.utils.hyprpaper;
hyprpaperFlake = inputs.hyprpaper.packages.${pkgs.system}.default; hyprpaperFlake = inputs.hyprpaper.packages.${pkgs.system}.default;
# hyprpaperPkg = pkgs.hyprpaper; # hyprpaperPkg = pkgs.hyprpaper;
in { in {
options = { options = {
modules.wm.utils.hyprpaper.enable = mkEnableOption "Enables hyprpaper"; userModules.wm.utils.hyprpaper.enable = mkEnableOption "Enables hyprpaper";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.hyprpaper = { services.hyprpaper = {

View File

@@ -13,6 +13,7 @@ in {
./shell.nix ./shell.nix
] ]
++ lib.optionals isCnixpad [./cpmodules.nix]; ++ lib.optionals isCnixpad [./cpmodules.nix];
home = { home = {
username = "cnst"; username = "cnst";
homeDirectory = "/home/cnst"; homeDirectory = "/home/cnst";

View File

@@ -1,5 +1,15 @@
{ {
modules = { # monitors = [
# {
# name = "DP-3";
# width = 2560;
# height = 1440;
# refreshRate = 240;
# workspace = "1";
# primary = true;
# }
# ];
userModules = {
browsers = { browsers = {
firefox = { firefox = {
enable = true; enable = true;

View File

@@ -1,5 +1,5 @@
{ {
modules = { systemModules = {
boot = { boot = {
loader = { loader = {
default = { default = {
@@ -132,10 +132,6 @@
dconf = { dconf = {
enable = true; enable = true;
}; };
xserver = {
videoDrivers = ["amdgpu"];
xkbLayout = "se";
};
}; };
system = { system = {
fwupd = { fwupd = {

View File

@@ -14,8 +14,8 @@
cnstConfig = "${self}/home/users/cnst"; cnstConfig = "${self}/home/users/cnst";
toothpickConfig = "${self}/home/users/toothpick"; toothpickConfig = "${self}/home/users/toothpick";
userModules = "${self}/home/modules"; umodPath = "${self}/home/modules";
systemModules = "${self}/system/modules"; smodPath = "${self}/system/modules";
# shorten paths # shorten paths
inherit (inputs.nixpkgs.lib) nixosSystem; inherit (inputs.nixpkgs.lib) nixosSystem;
@@ -25,10 +25,11 @@
inherit (import "${systemConfig}") shared; inherit (import "${systemConfig}") shared;
# get these into the module system # get these into the module system
specialArgs = {inherit inputs self userConfig systemConfig hostConfig cnstConfig toothpickConfig userModules systemModules;}; specialArgs = {inherit inputs self userConfig systemConfig hostConfig cnstConfig toothpickConfig umodPath smodPath;};
in { in {
cnix = nixosSystem { cnix = nixosSystem {
inherit specialArgs; inherit specialArgs;
modules = modules =
shared shared
++ [ ++ [

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkOption; inherit (lib) mkOption;
cfg = config.modules.boot.kernel; cfg = config.systemModules.boot.kernel;
in { in {
options = { options = {
modules.boot.kernel = { systemModules.boot.kernel = {
variant = mkOption { variant = mkOption {
type = lib.types.enum ["stable" "latest" "cachyos"]; type = lib.types.enum ["stable" "latest" "cachyos"];
default = "latest"; default = "latest";
@@ -30,7 +30,7 @@ in {
extraBlacklistedModules = mkOption { extraBlacklistedModules = mkOption {
type = lib.types.listOf lib.types.str; type = lib.types.listOf lib.types.str;
default = []; default = [];
description = "Additional kernel modules to blacklist."; description = "Additional kernel systemModules to blacklist.";
}; };
}; };
}; };

View File

@@ -6,10 +6,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption mkMerge mkForce; inherit (lib) mkIf mkEnableOption mkMerge mkForce;
cfg = config.modules.boot.loader; cfg = config.systemModules.boot.loader;
in { in {
options = { options = {
modules.boot.loader = { systemModules.boot.loader = {
default = { default = {
enable = mkEnableOption "Enable default boot loader configuration."; enable = mkEnableOption "Enable default boot loader configuration.";
}; };
@@ -28,7 +28,7 @@ in {
assertions = [ assertions = [
{ {
assertion = !(cfg.default.enable && cfg.lanzaboote.enable); assertion = !(cfg.default.enable && cfg.lanzaboote.enable);
message = "Only one of modules.boot.loader.default.enable and modules.boot.loader.lanzaboote.enable can be set to true."; message = "Only one of systemModules.boot.loader.default.enable and systemModules.boot.loader.lanzaboote.enable can be set to true.";
} }
]; ];
} }

View File

@@ -1,54 +1,54 @@
{systemModules, ...}: { {smodPath, ...}: {
imports = [ imports = [
"${systemModules}/boot/loader" "${smodPath}/boot/loader"
"${systemModules}/boot/kernel" "${smodPath}/boot/kernel"
"${systemModules}/gaming/gamemode" "${smodPath}/gaming/gamemode"
"${systemModules}/gaming/gamescope" "${smodPath}/gaming/gamescope"
"${systemModules}/gaming/lutris" "${smodPath}/gaming/lutris"
"${systemModules}/gaming/steam" "${smodPath}/gaming/steam"
"${systemModules}/gui/gnome" "${smodPath}/gui/gnome"
"${systemModules}/gui/hyprland" "${smodPath}/gui/hyprland"
"${systemModules}/hardware/bluetooth" "${smodPath}/hardware/bluetooth"
"${systemModules}/hardware/graphics/amd" "${smodPath}/hardware/graphics/amd"
"${systemModules}/hardware/graphics/nvidia" "${smodPath}/hardware/graphics/nvidia"
"${systemModules}/hardware/logitech" "${smodPath}/hardware/logitech"
"${systemModules}/hardware/network" "${smodPath}/hardware/network"
"${systemModules}/nix/nh" "${smodPath}/nix/nh"
"${systemModules}/studio/blender" "${smodPath}/studio/blender"
"${systemModules}/studio/gimp" "${smodPath}/studio/gimp"
"${systemModules}/studio/inkscape" "${smodPath}/studio/inkscape"
"${systemModules}/studio/beekeeper" "${smodPath}/studio/beekeeper"
"${systemModules}/studio/mysql-workbench" "${smodPath}/studio/mysql-workbench"
"${systemModules}/sysd/network/blueman" "${smodPath}/sysd/network/blueman"
"${systemModules}/sysd/network/mullvad" "${smodPath}/sysd/network/mullvad"
"${systemModules}/sysd/network/samba" "${smodPath}/sysd/network/samba"
"${systemModules}/sysd/network/openssh" "${smodPath}/sysd/network/openssh"
"${systemModules}/sysd/security/agenix" "${smodPath}/sysd/security/agenix"
"${systemModules}/sysd/security/gnome-keyring" "${smodPath}/sysd/security/gnome-keyring"
"${systemModules}/sysd/session/dbus" "${smodPath}/sysd/session/dbus"
"${systemModules}/sysd/session/dconf" "${smodPath}/sysd/session/dconf"
"${systemModules}/sysd/session/xserver" "${smodPath}/sysd/session/xserver"
"${systemModules}/sysd/system/fwupd" "${smodPath}/sysd/system/fwupd"
"${systemModules}/sysd/system/greetd" "${smodPath}/sysd/system/greetd"
"${systemModules}/sysd/system/gvfs" "${smodPath}/sysd/system/gvfs"
"${systemModules}/sysd/system/locate" "${smodPath}/sysd/system/locate"
"${systemModules}/sysd/system/nix-ld" "${smodPath}/sysd/system/nix-ld"
"${systemModules}/sysd/system/pcscd" "${smodPath}/sysd/system/pcscd"
"${systemModules}/sysd/system/pipewire" "${smodPath}/sysd/system/pipewire"
"${systemModules}/sysd/system/powerd" "${smodPath}/sysd/system/powerd"
"${systemModules}/sysd/system/udisks" "${smodPath}/sysd/system/udisks"
"${systemModules}/sysd/system/zram" "${smodPath}/sysd/system/zram"
"${systemModules}/sysd/system/kanata" "${smodPath}/sysd/system/kanata"
"${systemModules}/utils/android" "${smodPath}/utils/android"
"${systemModules}/utils/anyrun" "${smodPath}/utils/anyrun"
"${systemModules}/utils/brightnessctl" "${smodPath}/utils/brightnessctl"
"${systemModules}/utils/chaotic" "${smodPath}/utils/chaotic"
"${systemModules}/utils/corectrl" "${smodPath}/utils/corectrl"
"${systemModules}/utils/microfetch" "${smodPath}/utils/microfetch"
"${systemModules}/utils/misc" "${smodPath}/utils/misc"
"${systemModules}/utils/npm" "${smodPath}/utils/npm"
"${systemModules}/utils/obsidian" "${smodPath}/utils/obsidian"
"${systemModules}/utils/yubikey" "${smodPath}/utils/yubikey"
"${systemModules}/utils/zsh" "${smodPath}/utils/zsh"
]; ];
} }

View File

@@ -6,14 +6,14 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption mkOption; inherit (lib) mkIf mkEnableOption mkOption;
cfg = config.modules.gaming.gamemode; cfg = config.systemModules.gaming.gamemode;
pipewireLowLatencyModule = inputs.nix-gaming.nixosModules.pipewireLowLatency; pipewireLowLatencyModule = inputs.nix-gaming.nixosModules.pipewireLowLatency;
in { in {
imports = [ imports = [
pipewireLowLatencyModule pipewireLowLatencyModule
]; ];
options = { options = {
modules.gaming.gamemode = { systemModules.gaming.gamemode = {
enable = mkEnableOption "Enables gamemode"; enable = mkEnableOption "Enables gamemode";
optimizeGpu.enable = mkOption { optimizeGpu.enable = mkOption {
type = lib.types.bool; type = lib.types.bool;
@@ -29,7 +29,7 @@ in {
general = { general = {
inhibit_screensaver = 1; inhibit_screensaver = 1;
softrealtime = "auto"; softrealtime = "auto";
renice = 15; # renice = 15;
}; };
gpu = mkIf cfg.optimizeGpu.enable { gpu = mkIf cfg.optimizeGpu.enable {
apply_gpu_optimisations = "accept-responsibility"; apply_gpu_optimisations = "accept-responsibility";

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.gaming.gamescope; cfg = config.systemModules.gaming.gamescope;
in { in {
options = { options = {
modules.gaming.gamescope.enable = mkEnableOption "Enables gamescope"; systemModules.gaming.gamescope.enable = mkEnableOption "Enables gamescope";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.gamescope = { programs.gamescope = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.gaming.lutris; cfg = config.systemModules.gaming.lutris;
in { in {
options = { options = {
modules.gaming.lutris.enable = mkEnableOption "Enables lutris"; systemModules.gaming.lutris.enable = mkEnableOption "Enables lutris";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.gaming.steam; cfg = config.systemModules.gaming.steam;
in { in {
options = { options = {
modules.gaming.steam.enable = mkEnableOption "Enables steam"; systemModules.gaming.steam.enable = mkEnableOption "Enables steam";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs = { programs = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.gui.gnome; cfg = config.systemModules.gui.gnome;
in { in {
options = { options = {
modules.gui.gnome.enable = mkEnableOption "Enables gnome"; systemModules.gui.gnome.enable = mkEnableOption "Enables gnome";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services = { services = {

View File

@@ -6,10 +6,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.gui.hyprland; cfg = config.systemModules.gui.hyprland;
in { in {
options = { options = {
modules.gui.hyprland.enable = mkEnableOption "Enables hyprland"; systemModules.gui.hyprland.enable = mkEnableOption "Enables hyprland";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.hyprland = { programs.hyprland = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.hardware.bluetooth; cfg = config.systemModules.hardware.bluetooth;
in { in {
options = { options = {
modules.hardware.bluetooth.enable = mkEnableOption "Enables bluetooth"; systemModules.hardware.bluetooth.enable = mkEnableOption "Enables bluetooth";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
hardware = { hardware = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.hardware.graphics.amd; cfg = config.systemModules.hardware.graphics.amd;
in { in {
options = { options = {
modules.hardware.graphics.amd.enable = mkEnableOption "Enables AMD graphics"; systemModules.hardware.graphics.amd.enable = mkEnableOption "Enables AMD graphics";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
hardware = { hardware = {

View File

@@ -15,10 +15,10 @@
exec "$@" exec "$@"
''; '';
inherit (lib) types mkIf mkEnableOption mkOption; inherit (lib) types mkIf mkEnableOption mkOption;
cfg = config.modules.hardware.graphics.nvidia; cfg = config.systemModules.hardware.graphics.nvidia;
in { in {
options = { options = {
modules.hardware.graphics.nvidia = { systemModules.hardware.graphics.nvidia = {
enable = mkEnableOption "Enables NVidia graphics"; enable = mkEnableOption "Enables NVidia graphics";
package = mkOption { package = mkOption {
type = types.enum ["stable" "beta" "production" "latest"]; type = types.enum ["stable" "beta" "production" "latest"];

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.hardware.logitech; cfg = config.systemModules.hardware.logitech;
in { in {
options = { options = {
modules.hardware.logitech.enable = mkEnableOption "Enables logitech"; systemModules.hardware.logitech.enable = mkEnableOption "Enables logitech";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
hardware = { hardware = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption mkOption types; inherit (lib) mkIf mkEnableOption mkOption types;
cfg = config.modules.hardware.network; cfg = config.systemModules.hardware.network;
in { in {
options = { options = {
modules = { systemModules = {
hardware = { hardware = {
network = { network = {
enable = mkEnableOption "Enable the custom networking module"; enable = mkEnableOption "Enable the custom networking module";

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption mkOption; inherit (lib) mkIf mkEnableOption mkOption;
cfg = config.modules.nix.nh; cfg = config.systemModules.nix.nh;
in { in {
options = { options = {
modules.nix.nh = { systemModules.nix.nh = {
enable = mkEnableOption "Enables nix helper"; enable = mkEnableOption "Enables nix helper";
clean = { clean = {
enable = mkEnableOption "Enables nix helper cleaning"; enable = mkEnableOption "Enables nix helper cleaning";

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.studio.beekeeper; cfg = config.systemModules.studio.beekeeper;
in { in {
options = { options = {
modules.studio.beekeeper.enable = mkEnableOption "Enables Beekeeper Studio"; systemModules.studio.beekeeper.enable = mkEnableOption "Enables Beekeeper Studio";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption mkOption; inherit (lib) mkIf mkEnableOption mkOption;
cfg = config.modules.studio.blender; cfg = config.systemModules.studio.blender;
in { in {
options = { options = {
modules.studio.blender = { systemModules.studio.blender = {
enable = mkEnableOption "Enables Blender"; enable = mkEnableOption "Enables Blender";
hip.enable = mkOption { hip.enable = mkOption {
type = lib.types.bool; type = lib.types.bool;

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.studio.gimp; cfg = config.systemModules.studio.gimp;
in { in {
options = { options = {
modules.studio.gimp.enable = mkEnableOption "Enables gimp"; systemModules.studio.gimp.enable = mkEnableOption "Enables gimp";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = [ environment.systemPackages = [

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.studio.inkscape; cfg = config.systemModules.studio.inkscape;
in { in {
options = { options = {
modules.studio.inkscape.enable = mkEnableOption "Enables inkscape"; systemModules.studio.inkscape.enable = mkEnableOption "Enables inkscape";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.studio.mysql-workbench; cfg = config.systemModules.studio.mysql-workbench;
in { in {
options = { options = {
modules.studio.mysql-workbench.enable = mkEnableOption "Enables MySQL Workbench"; systemModules.studio.mysql-workbench.enable = mkEnableOption "Enables MySQL Workbench";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.sysd.network.blueman; cfg = config.systemModules.sysd.network.blueman;
in { in {
options = { options = {
modules.sysd.network.blueman.enable = mkEnableOption "Enables blueman"; systemModules.sysd.network.blueman.enable = mkEnableOption "Enables blueman";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services = { services = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.sysd.network.mullvad; cfg = config.systemModules.sysd.network.mullvad;
in { in {
options = { options = {
modules.sysd.network.mullvad.enable = mkEnableOption "Enables mullvad"; systemModules.sysd.network.mullvad.enable = mkEnableOption "Enables mullvad";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.mullvad-vpn = { services.mullvad-vpn = {

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.sysd.network.openssh; cfg = config.systemModules.sysd.network.openssh;
in { in {
options = { options = {
modules.sysd.network.openssh.enable = mkEnableOption "Enables openssh"; systemModules.sysd.network.openssh.enable = mkEnableOption "Enables openssh";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.openssh = { services.openssh = {

View File

@@ -5,10 +5,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.sysd.network.samba; cfg = config.systemModules.sysd.network.samba;
in { in {
options = { options = {
modules.sysd.network.samba.enable = mkEnableOption "Enables samba"; systemModules.sysd.network.samba.enable = mkEnableOption "Enables samba";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services = { services = {

View File

@@ -7,10 +7,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption mkOption mkMerge; inherit (lib) mkIf mkEnableOption mkOption mkMerge;
cfg = config.modules.sysd.security.agenix; cfg = config.systemModules.sysd.security.agenix;
in { in {
options = { options = {
modules.sysd.security.agenix = { systemModules.sysd.security.agenix = {
enable = mkEnableOption "Enables agenix system environment"; enable = mkEnableOption "Enables agenix system environment";
cnix.enable = mkOption { cnix.enable = mkOption {
type = lib.types.bool; type = lib.types.bool;

View File

@@ -4,10 +4,10 @@
... ...
}: let }: let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.modules.sysd.security.gnome-keyring; cfg = config.systemModules.sysd.security.gnome-keyring;
in { in {
options = { options = {
modules.sysd.security.gnome-keyring.enable = mkEnableOption "Enables gnome-keyring"; systemModules.sysd.security.gnome-keyring.enable = mkEnableOption "Enables gnome-keyring";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;

Some files were not shown because too many files have changed in this diff Show More