mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 14:19:08 +01:00
Move user configuration into profiles
This commit is contained in:
parent
f1e10f728e
commit
7ab6b77048
7 changed files with 41 additions and 55 deletions
|
|
@ -1,8 +0,0 @@
|
|||
{ self, pkgs, ... }:
|
||||
{
|
||||
imports = [ "${self}/users/home-manager.nix" ];
|
||||
home-manager.users.seb = ./home.nix;
|
||||
|
||||
users.users.seb.shell = pkgs.zsh;
|
||||
programs.zsh.enable = true;
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
{ self, pkgs, ... }:
|
||||
{
|
||||
imports = [ "${self}/users/home-manager.nix" ];
|
||||
home-manager.users.seb = ./home.nix;
|
||||
|
||||
users.users.seb.shell = pkgs.zsh;
|
||||
programs.zsh.enable = true;
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops.secrets."seb-password".neededForUsers = true;
|
||||
|
||||
users.users.seb = {
|
||||
isNormalUser = true;
|
||||
description = "Sebastian Stork";
|
||||
hashedPasswordFile = config.sops.secrets."seb-password".path;
|
||||
extraGroups = [ "wheel" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue