feat: remove user simon
This commit is contained in:
parent
23c355b2d9
commit
039e5d778f
|
@ -10,7 +10,6 @@
|
|||
🖥️ | desktopnix | Intel i5-8600K <br> NVIDIA GeForce GTX 1080 <br> 32 GiB RAM | Patrick's desktop, used for most development and gaming
|
||||
🖥️ | elisabeth | AMD Ryzen 7 5800X <br> 32 GiB RAM | Server running most cloud services
|
||||
🖥️ | maddy | Hetzner VPS | Static IP server running mail
|
||||
💻 | gojo | ? |Simons Laptop
|
||||
|
||||
## User Configuration
|
||||
This showcases my end user setup, which I dailydrive on all my hosts.
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
minimal,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
lib.optionalAttrs (!minimal) {
|
||||
users.users.simon = {
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = true;
|
||||
uid = 1000;
|
||||
createHome = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"audio"
|
||||
"video"
|
||||
"input"
|
||||
];
|
||||
group = "simon";
|
||||
hashedPassword = config.secrets.secrets.global.users.simon.passwordHash;
|
||||
autoSubUidGidRange = false;
|
||||
};
|
||||
users.groups.simon.gid = config.users.users.simon.uid;
|
||||
programs.dconf.enable = true;
|
||||
|
||||
home-manager.users.simon = {
|
||||
imports = [
|
||||
../common
|
||||
../common/impermanence.nix
|
||||
|
||||
../common/programs/htop.nix
|
||||
../common/programs/direnv.nix
|
||||
../common/programs/firefox.nix
|
||||
../common/programs/nvim
|
||||
../common/programs/gdb.nix
|
||||
../common/programs/git.nix
|
||||
../common/programs/kitty.nix
|
||||
../common/graphical/wayland
|
||||
../common/graphical/Xorg
|
||||
|
||||
./simon.nix
|
||||
./impermanence.nix
|
||||
./ssh.nix
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
home = {
|
||||
persistence."/state" = {
|
||||
directories = [
|
||||
"Downloads"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
discord
|
||||
];
|
||||
}
|
|
@ -1,56 +0,0 @@
|
|||
{
|
||||
# yubikey public key parts
|
||||
home.file.".ssh/1.pub".text = ''
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFmees72GMKG/rsQQRhs2I/lQnJa0uW5KmZlNBeriCh0 cardno:15 489 006
|
||||
'';
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
controlMaster = "auto";
|
||||
controlPersist = "5s";
|
||||
matchBlocks = let
|
||||
identityFile = ["~/.ssh/1.pub"];
|
||||
in {
|
||||
"elisabeth" = {
|
||||
hostname = "lel.lol";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"gojo" = {
|
||||
hostname = "gojo.local";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"patricknix" = {
|
||||
hostname = "patricknix.local";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"testienix" = {
|
||||
hostname = "testienix.local";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"desktopnix" = {
|
||||
hostname = "desktopnix.local";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"valhalla" = {
|
||||
hostname = "valhalla.fs.tum.de";
|
||||
user = "hanssen";
|
||||
};
|
||||
"elisabethprivate" = {
|
||||
hostname = "lel.lol";
|
||||
user = "simon";
|
||||
};
|
||||
"binex" = {
|
||||
hostname = "praksrv.sec.in.tum.de";
|
||||
user = "team402";
|
||||
};
|
||||
"*" = {
|
||||
identitiesOnly = true;
|
||||
inherit identityFile;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue