diff options
| author | Kleidi Bujari <mail@4kb.net> | 2025-01-24 19:37:50 -0500 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2025-01-24 19:37:50 -0500 |
| commit | 221d7084c23dce02e3f47ab18db2bfba78efe83b (patch) | |
| tree | 925c98e92854280e29f6171de6050443d31340c1 /mod/users | |
| parent | def88b34145d81472d3f2856501c157889f42ba2 (diff) | |
| download | depot-221d7084c23dce02e3f47ab18db2bfba78efe83b.tar.gz depot-221d7084c23dce02e3f47ab18db2bfba78efe83b.tar.bz2 depot-221d7084c23dce02e3f47ab18db2bfba78efe83b.zip | |
move users to depot, add gitignore
Diffstat (limited to 'mod/users')
| -rw-r--r-- | mod/users/kle/default.nix | 52 |
1 files changed, 51 insertions, 1 deletions
diff --git a/mod/users/kle/default.nix b/mod/users/kle/default.nix index a2a7f77..6f1cda2 100644 --- a/mod/users/kle/default.nix +++ b/mod/users/kle/default.nix @@ -1,5 +1,55 @@ -{ ... }: { +{ pkgs, depot, ... }: +let + inherit (builtins) + attrValues + ; + + inherit (depot.tools) + perf-flamegraph + ; + + + gitKeys = builtins.fetchurl { + url = "https://github.com/kbujari.keys"; + sha256 = "1kskbiyqvjz1wsmcrgh9v0iryf33y70zk503z0m96wmzdjllmc94"; + }; + keys = { t480 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEOw8YEbHsKy38JHp9W1wcxxZgWCDgnabOXccZUN5ddd"; }; +in +{ + inherit keys; + inherit gitKeys; + + nixos = { + initialHashedPassword = "$6$R4dDhaftX.vapGMd$.An36hlp3DXfkIC7bPZ0MDPo6Zvpk8JRrhy2LES.lZZj6JDa74oJkcMW3DCsIySvLJxOPXSShos0TpgJ/w0fH/"; + isNormalUser = true; + shell = pkgs.fish; + home = "/persist/usr/kle"; + createHome = true; + extraGroups = [ "wheel" "users" "networkmanager" "video" ]; + packages = with pkgs; [ + # utilities + btop + curl + fzf + jq + lynx + neovim + perf-flamegraph + ranger + ripgrep + rsync + sshfs + tree + zip + + # nix debugging + nixd + nixpkgs-fmt + ]; + + openssh.authorizedKeys.keys = attrValues keys; + }; } |
