This commit is contained in:
Jan-Bulthuis committed 2025-01-28 10:42:20 +01:00
1 parent 9d73b0d728
commit ceff5dac07
10 files changed
+81 -22

No files matched your search

+1
View File
@@ -16,6 +16,7 @@
./fontconfig/default.nix
./gaming/default.nix
./git/default.nix
./keyring/default.nix
./mako/default.nix
./neovim/default.nix
./obsidian/default.nix
+1
View File
@@ -2,6 +2,7 @@
{
imports = [
./emulators/pcsx2.nix
./emulators/ryujinx.nix
./launchers/es-de.nix
./launchers/modrinth.nix
+22
View File
@@ -0,0 +1,22 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.pcsx2;
in
{
options.modules.pcsx2 = {
enable = mkEnableOption "pcsx2";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
pcsx2
];
};
}
+23
View File
@@ -0,0 +1,23 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.keyring;
in
{
options.modules.keyring = {
enable = mkEnableOption "keyring";
};
config = mkIf cfg.enable {
# Development packages
home.packages = with pkgs; [
seahorse
];
};
}
+1
View File
@@ -4,6 +4,7 @@
imports = [
# Import systemwide configuration files.
./docker.nix
./keyring.nix
./river.nix
./steam.nix
./waylock.nix
+18
View File
@@ -0,0 +1,18 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
enabled = any (user: user.modules.keyring.enable) (attrValues config.home-manager.users);
in
{
config = mkIf enabled {
services.gnome.gnome-keyring = {
enable = true;
};
};
}