aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/nixos.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-19 12:54:16 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-19 12:54:16 -0800
commitbc40b7e0ad2ef5960b7f1695b4520909252a0e49 (patch)
treef22e9e5001720bbc82055a5d4d3b24077b9647de /nix/users/fcuny/nixos.nix
parentuse treefmt to format all the files (diff)
downloadinfra-bc40b7e0ad2ef5960b7f1695b4520909252a0e49.tar.gz
switch to the newer version of nixfmt
`nixfmt-rfc-style' replaces `nixfmt-classic'. It's actively maintained, but also changes the style, so this commit touches all the files in the repository.
Diffstat (limited to 'nix/users/fcuny/nixos.nix')
-rw-r--r--nix/users/fcuny/nixos.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/nix/users/fcuny/nixos.nix b/nix/users/fcuny/nixos.nix
index 4cc80bd..a6c302f 100644
--- a/nix/users/fcuny/nixos.nix
+++ b/nix/users/fcuny/nixos.nix
@@ -1,4 +1,5 @@
-{ pkgs, ... }: {
+{ pkgs, ... }:
+{
# add ~/.local/bin to PATH
environment.localBinInPath = true;
@@ -8,10 +9,13 @@
users.users.fcuny = {
isNormalUser = true;
home = "/home/fcuny";
- extraGroups = [ "docker" "wheel" "podman" ];
+ extraGroups = [
+ "docker"
+ "wheel"
+ "podman"
+ ];
shell = pkgs.fish;
- hashedPassword =
- "$6$U4GoqhuHgdr.h0JP$C/BKslQfOpPJ5lUzrTeQh6i859R/jEKYSF9MaRhWYo5VG6aCDKsvb5xKSifH4nQt6okJixG9ceFh..Mnt93Jt/";
+ hashedPassword = "$6$U4GoqhuHgdr.h0JP$C/BKslQfOpPJ5lUzrTeQh6i859R/jEKYSF9MaRhWYo5VG6aCDKsvb5xKSifH4nQt6okJixG9ceFh..Mnt93Jt/";
openssh.authorizedKeys.keys = [
# key `nixos` in 1password
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"