summaryrefslogtreecommitdiff
path: root/modules/users.nix
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2025-04-02 22:11:38 -0400
committerKleidi Bujari <mail@4kb.net>2025-04-02 22:11:38 -0400
commitc950f338c5720a132552863a35d1c7924df3d3a6 (patch)
treec3134c42e1618c255ca8e9e0698f90b0ae8b3563 /modules/users.nix
parentb619ff9dd42eaa62569c8297142f0e4c719d40d2 (diff)
parent09c2b6de63a6ff35348fcb2c2eb57b974f0a8a52 (diff)
downloaddepot-c950f338c5720a132552863a35d1c7924df3d3a6.tar.gz
depot-c950f338c5720a132552863a35d1c7924df3d3a6.tar.bz2
depot-c950f338c5720a132552863a35d1c7924df3d3a6.zip
Merge remote-tracking branch 'origin/copy-blueprint'
Diffstat (limited to 'modules/users.nix')
-rw-r--r--modules/users.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/modules/users.nix b/modules/users.nix
new file mode 100644
index 0000000..f9f7df3
--- /dev/null
+++ b/modules/users.nix
@@ -0,0 +1,48 @@
+{ pkgs, perSystem, ... }:
+let
+ inherit (builtins)
+ attrValues;
+
+ inherit (perSystem.self)
+ perf-flamegraph
+ ;
+
+ keys = {
+ t480 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEOw8YEbHsKy38JHp9W1wcxxZgWCDgnabOXccZUN5ddd";
+ t1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP7T2uWJFUu8aFZZgQusGKyEMocb2pKbHLDad2eIJus9";
+ };
+in
+{
+ kle = {
+ initialHashedPassword = "$6$R4dDhaftX.vapGMd$.An36hlp3DXfkIC7bPZ0MDPo6Zvpk8JRrhy2LES.lZZj6JDa74oJkcMW3DCsIySvLJxOPXSShos0TpgJ/w0fH/";
+ isNormalUser = true;
+ shell = pkgs.fish;
+ home = "/persist/usr/kle";
+ createHome = true;
+ extraGroups = [ "wheel" "users" "networkmanager" "video" "corectrl" ];
+ packages = with pkgs; [
+ btop
+ curl
+ emacs
+ fzf
+ guvcview
+ jq
+ jujutsu
+ lynx
+ neovim
+ perf-flamegraph
+ ranger
+ ripgrep
+ rsync
+ sshfs
+ tree
+ zip
+
+ # nix debugging
+ nixd
+ nixpkgs-fmt
+ ];
+
+ openssh.authorizedKeys.keys = attrValues keys;
+ };
+}