add cookied to cookies vm

This commit is contained in:
lilly 2025-03-14 21:31:35 +01:00
commit 496b493efa
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
4 changed files with 35 additions and 0 deletions

View file

@ -19,6 +19,12 @@
};
};
services.cookied = {
enable = true;
algorithm = "text";
text = "🥚🥚🥚You have found the secret Easteregg! Go visit the NOC helpdesk for a free drink of your choice 🐇🐇🐇";
};
# DO NOT CHANGE
# this defines the first version of NixOS that was installed on the machine so that programs with non-migratable data files are kept compatible
home-manager.users.noc.home.stateVersion = "24.11";

View file

@ -18,6 +18,7 @@ let
flake.inputs.sops-nix.nixosModules.default
flake.inputs.lix.nixosModules.lixFromNixpkgs
flake.inputs.disko.nixosModules.default
flake.inputs.cookied.nixosModules.default
../modules/base_system.nix
../modules/user_account.nix
@ -29,6 +30,7 @@ let
fqdnParts = nixpkgs.lib.strings.splitString "." name;
in
{
nixpkgs.overlays = [ flake.inputs.cookied.overlays.default ];
networking.hostName = builtins.head fqdnParts;
networking.domain =
if ((builtins.length fqdnParts) > 1) then