trust user
Some checks failed
ci/woodpecker/push/build-cache Pipeline failed

This commit is contained in:
Lucy Hochkamp 2025-10-09 16:52:23 +02:00
parent 57b0275c04
commit 5ad1f4e497
No known key found for this signature in database
5 changed files with 18 additions and 15 deletions

24
flake.lock generated
View file

@ -242,11 +242,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759853171, "lastModified": 1760015796,
"narHash": "sha256-uqbhyXtqMbYIiMqVqUhNdSuh9AEEkiasoK3mIPIVRhk=", "narHash": "sha256-c/WkaynHrRE1EHWATe5+vb9M9YabfTaR1GHivdybaSU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "1a09eb84fa9e33748432a5253102d01251f72d6d", "rev": "6564ee29d0521af3feba937a91024e6a3e77a8b6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -453,11 +453,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1759733170, "lastModified": 1759831965,
"narHash": "sha256-TXnlsVb5Z8HXZ6mZoeOAIwxmvGHp1g4Dw89eLvIwKVI=", "narHash": "sha256-vgPm2xjOmKdZ0xKA6yLXPJpjOtQPHfaZDRtH+47XEBo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8913c168d1c56dc49a7718685968f38752171c3b", "rev": "c9b6fb798541223bbb396d287d16f43520250518",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -484,11 +484,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1759856483, "lastModified": 1760020272,
"narHash": "sha256-HZl/TKVPVvnSPa3sqTAUSer/N7kKbavQogYccEPKcms=", "narHash": "sha256-/w2H6t+NxdtbZ/oBkb0i/bW766aOuq7X69Jz1CzC3Vw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "357b20be9d21add386065c0dabd007c187dc8f43", "rev": "531f6038cfe85c60b3f349b85e71939b539bc334",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -838,11 +838,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759810989, "lastModified": 1759965431,
"narHash": "sha256-QZGjGBps8DLx56+60m1nAaJihNZZXoggtB76nCE7nks=", "narHash": "sha256-HvXr+rOkSZeseOYCruuMKMAUedcDkHOuYpFbnlIPs8Y=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "a36d0113a80d1b70511192bbefdfa30303f05fab", "rev": "391a133511ad7e09651b9c3939d8cf8d379766b1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -38,7 +38,9 @@ in
]); ]);
programs.helix = { programs.helix = {
package = inputs.helix.packages.${pkgs.system}.default; # the flake is really slow to download bc it does like 1000 builtins.fetchTree
# just switch back to using what's in nixpkgs until stuff gets annoying
# package = inputs.helix.packages.${pkgs.system}.default;
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
settings = { settings = {

View file

@ -71,7 +71,7 @@ let
"$HOME/.calendars" 2> /dev/null) || true | \ "$HOME/.calendars" 2> /dev/null) || true | \
while read -r _; do while read -r _; do
render render
timeout 3 cat || true # debounce for 3s, https://stackoverflow.com/a/69945839 # timeout 3 cat || true # debounce for 3s, https://stackoverflow.com/a/69945839
done done
done done
''; '';

View file

@ -25,7 +25,7 @@ in
virtualisation.podman.enable = true; virtualisation.podman.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
jetbrains.rider unstable.jetbrains.rider
# android-studio # android-studio
nixpkgs-manual nixpkgs-manual
nixpkgs-manual.lib-docs nixpkgs-manual.lib-docs

View file

@ -16,6 +16,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.homeBinInPath = true; environment.homeBinInPath = true;
nix.settings.trusted-users = [cfg.name];
users.users.${cfg.name} = { users.users.${cfg.name} = {
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID/oMAi5jyQsNohfhcSH2ItisTpBGB0WtYTVxJYKKqhj"]; # theseus openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID/oMAi5jyQsNohfhcSH2ItisTpBGB0WtYTVxJYKKqhj"]; # theseus
isNormalUser = true; isNormalUser = true;