diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index fa926a48..7157ae26 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -29,6 +29,8 @@ home-manager.users."${config.var.username}" = import ./home.nix; + users.users.${config.var.username}.hashedPassword = "$y$j9T$A7gH534UczuBxulj9IfEu1$ImRy3lpYpemRWNVIkA7efKPWXneFiqhZnEF1aMkWcD8"; + # Don't touch this system.stateVersion = "26.05"; } diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index c2e7c6b8..3d2e048f 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -64,7 +64,7 @@ files = [ ".ssh/known_hosts" - ".config/sops-nix/age/keys.txt" + ".config/sops/age/keys.txt" ]; }; diff --git a/hosts/laptop/secrets/default.nix b/hosts/laptop/secrets/default.nix index 0cdabbdf..f338ec26 100644 --- a/hosts/laptop/secrets/default.nix +++ b/hosts/laptop/secrets/default.nix @@ -9,7 +9,7 @@ home = "/home/${username}"; in { sops = { - age.keyFile = "${home}/.config/sops-nix/age/keys.txt"; + age.keyFile = "${home}/.config/sops/age/keys.txt"; defaultSopsFile = ./secrets.yaml; secrets = { ssh-config = { diff --git a/hosts/laptop/secrets/secrets.yaml b/hosts/laptop/secrets/secrets.yaml index 56fff9b4..0785fa88 100644 --- a/hosts/laptop/secrets/secrets.yaml +++ b/hosts/laptop/secrets/secrets.yaml @@ -16,7 +16,7 @@ sops: FSfQWnjhe/a7BJtJEcKZkjOQU0mYqlSu+uT2RA9diCQeRUJPRF+nAw== -----END AGE ENCRYPTED FILE----- recipient: age12yvtj49pfh3fqzqflscm0ek4yzrjhr6cqhn7x89gdxnlykq0xudq5c7334 - lastmodified: "2026-08-13T18:02:38Z" - mac: ENC[AES256_GCM,data:NXEE083Qakiy8OQKwRSX0hvbdwfjONNdL9hocIMfvPOY71wWYpS0HbD/qtPwv5VkHnyumAF7XwKEEOns1UeEULI03fYePq4tUphYTfyKh6UL1NL6WKUPXU/K0PHZrPIyo2CrvSSC0PeUc8ZbhjEeNbL16UELUJNtzZ6M/UbhqD0=,iv:kYFvQsnOqZLUshKiw1SuUFQ1MWOaN8TJgFZXmmAyYag=,tag:4+tFSVzJolcdhrF+pUfeZA==,type:str] + lastmodified: "2026-08-13T21:43:40Z" + mac: ENC[AES256_GCM,data:aOONPIVt40AwHYs26+wJ9Sf50OkZ6mA+6r6nHIhnkpra1b/XmNISxjRICOn0F/ct7MUgzmg4GH6otSTFWo16ch/LqY1osDUA0HtmeJ/wVQ77IBZtSPNWaQnixcYUa+bu3PJApNdAG6BrLwGdnhBRRj9c0A6kPFqru/agcKNM3yg=,iv:f0oDpA3YIqseb/SSdnWjsVzClY/x+zzuRCDOuKRH33Y=,tag:Bam7vuGopRbjPCJ2YlTFGA==,type:str] unencrypted_suffix: _unencrypted version: 3.13.3 diff --git a/nixos/users.nix b/nixos/users.nix index 815066da..f33b2a18 100644 --- a/nixos/users.nix +++ b/nixos/users.nix @@ -17,9 +17,6 @@ in { "networkmanager" "wheel" ]; - # CHANGEME: Set your password with: mkpasswd -m sha-512 - # Or use initialPassword for first boot, then change it - initialPassword = "nixos"; }; }; }