add cookied to cookies vm
This commit is contained in:
parent
85081f33af
commit
496b493efa
4 changed files with 35 additions and 0 deletions
21
flake.lock
generated
21
flake.lock
generated
|
@ -1,5 +1,25 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"cookied": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1741898518,
|
||||||
|
"narHash": "sha256-h8XE0oaEtjtkAdy3+8Ofyuzu1NFYZoQYPpUea85fx7k=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "b917ac47a393de3c2b7a9c1a225757c6b003124e",
|
||||||
|
"revCount": 8,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://codeberg.org/lilly/cookied.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://codeberg.org/lilly/cookied.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"disko": {
|
"disko": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -131,6 +151,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"cookied": "cookied",
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"lix": "lix",
|
"lix": "lix",
|
||||||
|
|
|
@ -38,6 +38,12 @@
|
||||||
url = "github:numtide/treefmt-nix";
|
url = "github:numtide/treefmt-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# cookied
|
||||||
|
cookied = {
|
||||||
|
url = "git+https://codeberg.org/lilly/cookied.git";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|
|
@ -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
|
# 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
|
# 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";
|
home-manager.users.noc.home.stateVersion = "24.11";
|
||||||
|
|
|
@ -18,6 +18,7 @@ let
|
||||||
flake.inputs.sops-nix.nixosModules.default
|
flake.inputs.sops-nix.nixosModules.default
|
||||||
flake.inputs.lix.nixosModules.lixFromNixpkgs
|
flake.inputs.lix.nixosModules.lixFromNixpkgs
|
||||||
flake.inputs.disko.nixosModules.default
|
flake.inputs.disko.nixosModules.default
|
||||||
|
flake.inputs.cookied.nixosModules.default
|
||||||
|
|
||||||
../modules/base_system.nix
|
../modules/base_system.nix
|
||||||
../modules/user_account.nix
|
../modules/user_account.nix
|
||||||
|
@ -29,6 +30,7 @@ let
|
||||||
fqdnParts = nixpkgs.lib.strings.splitString "." name;
|
fqdnParts = nixpkgs.lib.strings.splitString "." name;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
nixpkgs.overlays = [ flake.inputs.cookied.overlays.default ];
|
||||||
networking.hostName = builtins.head fqdnParts;
|
networking.hostName = builtins.head fqdnParts;
|
||||||
networking.domain =
|
networking.domain =
|
||||||
if ((builtins.length fqdnParts) > 1) then
|
if ((builtins.length fqdnParts) > 1) then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue