From 389fe7413f405f2409249d175f4b78dd3af90a5b Mon Sep 17 00:00:00 2001 From: janabhumi Date: Mon, 10 Oct 2022 07:35:00 +0300 Subject: [PATCH] disable mutable users --- machines/common.nix | 2 ++ users/jan/default.nix | 2 ++ users/jan/secrets.nix | Bin 1627 -> 1764 bytes 3 files changed, 4 insertions(+) diff --git a/machines/common.nix b/machines/common.nix index 1e91785..577e9c6 100644 --- a/machines/common.nix +++ b/machines/common.nix @@ -140,6 +140,8 @@ }; }; + users.mutableUsers = false; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; diff --git a/users/jan/default.nix b/users/jan/default.nix index c309b2f..3e21165 100644 --- a/users/jan/default.nix +++ b/users/jan/default.nix @@ -1,5 +1,6 @@ { config, pkgs, lib, inputs, fontSize ? null, ... }: +let secrets = import ./secrets.nix; in { nixpkgs.overlays = lib.mkAfter ((import ../../overlays) ++ [ inputs.wired.overlays.default @@ -16,6 +17,7 @@ "docker" ]; shell = pkgs.zsh; + inherit (secrets) initialHashedPassword; }; home-manager = { diff --git a/users/jan/secrets.nix b/users/jan/secrets.nix index 41eed1ddfa5d7fed5c70d3c28ef67ebafdf26c57..13372c24cc64676e650bf0d590267dd5c5db2d3d 100644 GIT binary patch literal 1764 zcmVErrUMMI9t%~)RCDQNV;pbllznc4rY!?TvDJ3w=_<3cZC3sj4d z`DM=T_Fn0pQ_9Tl9ag9fNy48o*1qiAHE!@*Ok;l2jVkizwc>B`0tU;M=w^BI$>hom z(l^b`(}7DY0TMU|z6W)K9sx?8S*y|u5#QgjJ8G+xoM{q15&A~4o?=-Meghs)CfPVF(Hpy z`SsG6Vrmd{Sm%iPLlr39XLWgg#Uzi%@0NVXvaxk*+-D;*8$jp1>14;_@D~Vvcku~& z-WwH}byr`F%?sVv>>Yar7M*_kEuOfL!I0e{C1Eo8<}4q{IZ}}>Nyv3VYPjd8n&uDj zT-p@tyqQkcMyG~L^Am7o4dGJeV15$1;T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