Stuff
This commit is contained in:
parent
42a591bd37
commit
fc03bb0b93
5 changed files with 14 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
secrets/
|
||||
dotfiles/zsh/.zcompdump
|
||||
dotfiles/nvim/lazy-lock.json
|
||||
result
|
||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "secrets"]
|
||||
path = secrets
|
||||
url = git@git.caem.dev:caem/secrets
|
|
@ -44,6 +44,9 @@
|
|||
inputs = inputs;
|
||||
user = "caem";
|
||||
modules = [
|
||||
impermanence.nixosModules.impermanence
|
||||
disko.nixosModules.disko
|
||||
sops-nix.nixosModules.sops
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
|
@ -53,10 +56,6 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
impermanence.nixosModules.impermanence
|
||||
disko.nixosModules.disko
|
||||
sops-nix.nixosModules.sops
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
sops.secrets.user_password = {
|
||||
sopsFile = ../../../secrets/user_password.yaml;
|
||||
neededForUsers = true;
|
||||
};
|
||||
|
||||
users.users.caem = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
hashedPasswordFile = config.sops.secrets.user_password.path;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
];
|
||||
|
|
1
secrets
Submodule
1
secrets
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 73908914ee288a689dede75c9e4ff1531e41159c
|
Loading…
Add table
Reference in a new issue