Add secret management
This commit is contained in:
parent
8a981440bc
commit
a899f33fda
4 changed files with 38 additions and 8 deletions
|
@ -27,7 +27,7 @@
|
|||
# Enable the X11 windowing system.
|
||||
# services.xserver.enable = true;
|
||||
|
||||
programs.ssh.startAgent = true;
|
||||
# programs.ssh.startAgent = true;
|
||||
|
||||
# Enable the KDE Plasma Desktop Environment.
|
||||
services.xserver.displayManager.sddm.enable = true;
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
../../modules/virtualization/docker.nix
|
||||
../../modules/virtualization/qemu.nix
|
||||
../../modules/programs/games.nix
|
||||
../../modules/secrets/gnome-keyring.nix
|
||||
../../modules/secrets/gpg.nix
|
||||
# ../../modules/services/easyeffects.nix
|
||||
];
|
||||
|
||||
|
@ -39,16 +41,13 @@
|
|||
extraBackends = [unstable.utsushi];
|
||||
};
|
||||
};
|
||||
|
||||
services.udev.packages = [unstable.utsushi];
|
||||
|
||||
# hyprland.enable = true;
|
||||
kde.enable = true;
|
||||
# Desktops
|
||||
hyprland.enable = false;
|
||||
kde.enable = false;
|
||||
awesome.enable = true;
|
||||
# home-manager.users.${vars.user} = {
|
||||
# services.kdeconnect.enable = true;
|
||||
# };
|
||||
nixpkgs.config.librewolf.enablePlasmaBrowserIntegration = true;
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
environment = {
|
||||
systemPackages = with pkgs;
|
||||
|
|
11
modules/secrets/gnome-keyring.nix
Normal file
11
modules/secrets/gnome-keyring.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
vars,
|
||||
...
|
||||
}: {
|
||||
security.pam.services.${vars.user}.enableGnomeKeyring = true;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
programs.seahorse.enable = true;
|
||||
}
|
20
modules/secrets/gpg.nix
Normal file
20
modules/secrets/gpg.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
vars,
|
||||
...
|
||||
}: {
|
||||
home-manager.users.${vars.user} = {
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
};
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
enableFishIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
pinentryFlavor = "gnome3";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue