mirror of https://git.jolheiser.com/dotnix.git
parent
070c57d886
commit
bc65cb281d
42
flake.lock
42
flake.lock
|
@ -1,5 +1,25 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"actual": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1719973663,
|
||||||
|
"narHash": "sha256-SybjMpCVUWG998EkvcwjHH3fTbG05FUSbB/Gqjz63tE=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "7567e89e80834dfa65ca5af987a8db0afe01099d",
|
||||||
|
"revCount": 11,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.xeno.science/xenofem/actual-nix.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.xeno.science/xenofem/actual-nix.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"agenix": {
|
"agenix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"darwin": [],
|
"darwin": [],
|
||||||
|
@ -519,6 +539,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"actual": "actual",
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"bennet": "bennet",
|
"bennet": "bennet",
|
||||||
"blog": "blog",
|
"blog": "blog",
|
||||||
|
@ -540,6 +561,7 @@
|
||||||
"tclip": "tclip",
|
"tclip": "tclip",
|
||||||
"templ": "templ",
|
"templ": "templ",
|
||||||
"tmpl": "tmpl",
|
"tmpl": "tmpl",
|
||||||
|
"tsnet-serve": "tsnet-serve",
|
||||||
"ugit": "ugit",
|
"ugit": "ugit",
|
||||||
"website": "website",
|
"website": "website",
|
||||||
"wsl": "wsl"
|
"wsl": "wsl"
|
||||||
|
@ -756,6 +778,26 @@
|
||||||
"url": "https://git.jolheiser.com/tmpl.git"
|
"url": "https://git.jolheiser.com/tmpl.git"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tsnet-serve": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1721516004,
|
||||||
|
"narHash": "sha256-+ayExpklAHdRfrCmPdFDIstiYFFeoBncpyvffcdkugU=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "016b9666734733ea0ca7df54335ef44b9dd03573",
|
||||||
|
"revCount": 8,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.jolheiser.com/tsnet-serve-nix.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.jolheiser.com/tsnet-serve-nix.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"ugit": {
|
"ugit": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"gomod2nix": "gomod2nix_3",
|
"gomod2nix": "gomod2nix_3",
|
||||||
|
|
10
flake.nix
10
flake.nix
|
@ -108,6 +108,14 @@
|
||||||
url = "github:dagger/nix";
|
url = "github:dagger/nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
actual = {
|
||||||
|
url = "git+https://git.xeno.science/xenofem/actual-nix.git";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
tsnet-serve = {
|
||||||
|
url = "git+https://git.jolheiser.com/tsnet-serve-nix.git";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
# WSL
|
# WSL
|
||||||
wsl = {
|
wsl = {
|
||||||
url = "github:nix-community/NixOS-WSL";
|
url = "github:nix-community/NixOS-WSL";
|
||||||
|
@ -237,6 +245,8 @@
|
||||||
inputs.golink.nixosModules.default
|
inputs.golink.nixosModules.default
|
||||||
inputs.ugit.nixosModules.default
|
inputs.ugit.nixosModules.default
|
||||||
inputs.git-pr.nixosModules.default
|
inputs.git-pr.nixosModules.default
|
||||||
|
inputs.actual.nixosModules.default
|
||||||
|
inputs.tsnet-serve.nixosModules.default
|
||||||
./machines/dragonwell
|
./machines/dragonwell
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
actual = {
|
||||||
|
enable = true;
|
||||||
|
hostname = "127.0.0.1";
|
||||||
|
port = 5006;
|
||||||
|
};
|
||||||
|
tsnet-serve.instances.actualbudget = {
|
||||||
|
enable = true;
|
||||||
|
backend = "http://127.0.0.1:5006";
|
||||||
|
authKey = "tskey-auth-kujWFyP73s11CNTRL-XaS9zY7cGH2WbFMGYURaH2bRNRgXrwj9T"; # One-time key
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,7 +2,7 @@ let
|
||||||
username = "jolheiser";
|
username = "jolheiser";
|
||||||
key = ''ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfKqCWtDlS3tgvfT6hQN+ii8UtabIZ+ZNmYN+bLwIa8PHOEW5MbfaqXSlhKkSi4+7SfQDCHphw0SMfhsQ4qMEcoywZ+4niDgKlQEVkl+S/VGbLuPe92NRStkyreZBLPr3Rh7ScNlGHcmHmoV9v7725fMnsMmabGVhpGO84PwNHOfJyv2tx2h6LxFbAV8S44UQu2lc8YLWCK2UvKuRnBerBXLnDQThUUX8UuCFzb786gQzD5XDU0MENbByxiy0XdVGAC+tFXEiSIgFZlFbFYyShgdTP9MzX2MOglEi+ae+1UIFncraW7ptUey7qHFJylpHWWWvE+GTwsg2G50i0FvFj jolheiser@jolheiser'';
|
key = ''ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfKqCWtDlS3tgvfT6hQN+ii8UtabIZ+ZNmYN+bLwIa8PHOEW5MbfaqXSlhKkSi4+7SfQDCHphw0SMfhsQ4qMEcoywZ+4niDgKlQEVkl+S/VGbLuPe92NRStkyreZBLPr3Rh7ScNlGHcmHmoV9v7725fMnsMmabGVhpGO84PwNHOfJyv2tx2h6LxFbAV8S44UQu2lc8YLWCK2UvKuRnBerBXLnDQThUUX8UuCFzb786gQzD5XDU0MENbByxiy0XdVGAC+tFXEiSIgFZlFbFYyShgdTP9MzX2MOglEi+ae+1UIFncraW7ptUey7qHFJylpHWWWvE+GTwsg2G50i0FvFj jolheiser@jolheiser'';
|
||||||
in {
|
in {
|
||||||
imports = [./caddy.nix ./dex.nix ./git-pr.nix ./golink.nix ./gotosocial.nix ./restic.nix ./soju.nix ./tandoor.nix ./ugit.nix ./vikunja.nix ./hardware.nix];
|
imports = [./actual.nix ./caddy.nix ./dex.nix ./git-pr.nix ./golink.nix ./gotosocial.nix ./restic.nix ./soju.nix ./tandoor.nix ./ugit.nix ./vikunja.nix ./hardware.nix];
|
||||||
|
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
@ -16,7 +16,10 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services = {
|
||||||
|
openssh.enable = true;
|
||||||
|
tailscale.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
users.users = {
|
users.users = {
|
||||||
"${username}" = {
|
"${username}" = {
|
||||||
|
|
Loading…
Reference in New Issue