Refactor the whole configuration #1

Merged
caem merged 354 commits from refactor into master 2025-02-01 14:05:16 +01:00
2 changed files with 8 additions and 6 deletions
Showing only changes of commit eec8246df8 - Show all commits

View file

@ -1,4 +1,4 @@
{ inputs, lib, ... }:
{ ... }:
{
programs.gnupg.agent = {
@ -30,8 +30,5 @@
mutableUsers = false;
};
sops = {
defaultSopsFile = lib.mkFirst inputs.secrets.path;
age.keyFile = "/nix/config/keys.txt";
};
sops.age.keyFile = "/nix/config/keys.txt";
}

View file

@ -1,6 +1,11 @@
{ config, pkgs, ... }:
{ config, pkgs, inputs, ... }:
{
sops.secrets.upasswd = {
neededForUsers = true;
sopsFile = inputs.secrets.paths.upasswd;
};
users.users.caem = {
isNormalUser = true;
shell = pkgs.zsh;