Changes
This commit is contained in:
1 parent
9d73b0d728
commit
ceff5dac07
10 files changed
+81
-22
No files matched your search
@@ -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
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./emulators/pcsx2.nix
|
||||
./emulators/ryujinx.nix
|
||||
./launchers/es-de.nix
|
||||
./launchers/modrinth.nix
|
||||
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
# Import systemwide configuration files.
|
||||
./docker.nix
|
||||
./keyring.nix
|
||||
./river.nix
|
||||
./steam.nix
|
||||
./waylock.nix
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user