mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-24 13:45:29 -08:00
Compare commits
No commits in common. "fa36ab81097b78415c1b84d2148acca56b1bae62" and "cceb3632fde32db40d0df2737aee8992a44fae4d" have entirely different histories.
fa36ab8109
...
cceb3632fd
4 changed files with 28 additions and 34 deletions
38
flake.lock
38
flake.lock
|
@ -9,11 +9,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713517105,
|
"lastModified": 1712914814,
|
||||||
"narHash": "sha256-DA7jYt28ProoSTiSMXgNYCR/Lz1I+EtWVEslfpHVqKs=",
|
"narHash": "sha256-2JimoqHnPCoRlvE1kY0zwTEDmNO3g+8Lz+nJrbaHMHo=",
|
||||||
"owner": "atuinsh",
|
"owner": "atuinsh",
|
||||||
"repo": "atuin",
|
"repo": "atuin",
|
||||||
"rev": "98350f52df1d783886313682a5eada8a729cbaed",
|
"rev": "c41998e98a073f4cce26134c0642c403d71b74a2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -252,17 +252,17 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1707988981,
|
"lastModified": 1705595425,
|
||||||
"narHash": "sha256-8qsm0OGAwKtGwMm3g4jUxhOLH9v9YS7iTi+JoMtvMc0=",
|
"narHash": "sha256-oNlCsosFl+ZsStSrEXk5SmirJCjc3H+Jr7Ro0C8EQ5U=",
|
||||||
"owner": "juanfont",
|
"owner": "juanfont",
|
||||||
"repo": "headscale",
|
"repo": "headscale",
|
||||||
"rev": "c42f25bd72e8b8d740af6c7cc4410507fc686b7e",
|
"rev": "1e22f17f36f8c13185dff269e6a00424b49b9568",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "juanfont",
|
"owner": "juanfont",
|
||||||
"repo": "headscale",
|
"repo": "headscale",
|
||||||
"rev": "c42f25bd72e8b8d740af6c7cc4410507fc686b7e",
|
"rev": "1e22f17f36f8c13185dff269e6a00424b49b9568",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -273,11 +273,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713566308,
|
"lastModified": 1713019815,
|
||||||
"narHash": "sha256-7Y91t8pheIzjJveUMAPyeh5NOq5F49Nq4Hl2532QpJs=",
|
"narHash": "sha256-jzTo97VeKMNfnKw3xU+uiU5C7wtnLudsbwl/nwPLC7s=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "057117a401a34259c9615ce62218aea7afdee4d3",
|
"rev": "8fdf329526f06886b53b94ddf433848a0d142984",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -385,11 +385,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713564160,
|
"lastModified": 1713042715,
|
||||||
"narHash": "sha256-YguPZpiejgzLEcO36/SZULjJQ55iWcjAmf3lYiyV1Fo=",
|
"narHash": "sha256-RifMwYuKu5v6x6O65msKDTqKkQ9crGwOB7yr20qMEuE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "bc194f70731cc5d2b046a6c1b3b15f170f05999c",
|
"rev": "c27f3b6d8e29346af16eecc0e9d54b1071eae27e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -465,11 +465,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713297878,
|
"lastModified": 1712791164,
|
||||||
"narHash": "sha256-hOkzkhLT59wR8VaMbh1ESjtZLbGi+XNaBN6h49SPqEc=",
|
"narHash": "sha256-3sbWO1mbpWsLepZGbWaMovSO7ndZeFqDSdX0hZ9nVyw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "66adc1e47f8784803f2deb6cacd5e07264ec2d5c",
|
"rev": "1042fd8b148a9105f3c0aca3a6177fd1d9360ba5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -506,11 +506,11 @@
|
||||||
"pre-commit-hooks": "pre-commit-hooks"
|
"pre-commit-hooks": "pre-commit-hooks"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713530381,
|
"lastModified": 1713038713,
|
||||||
"narHash": "sha256-54sXzrwhKkI9uzeHRPNtpB4pCQqIkzzr1FFUiG4znQU=",
|
"narHash": "sha256-xijgNVqLYXUbpSsGXh7bzx6zCRVf+WGlTcGMG04mQjA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "83a7ce9846b1b01a34b3e6b25077c1a5044ad7b3",
|
"rev": "1da2087d9b8a89c310d093207afd41114d6727e1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -19,8 +19,9 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
headscale = {
|
headscale = {
|
||||||
url = "github:juanfont/headscale/c42f25bd72e8b8d740af6c7cc4410507fc686b7e";
|
# url = "github:kradalby/headscale/bbb4c357268998fd02780b7f8f2013f76e3ab80a";
|
||||||
# url = "github:juanfont/headscale/bd047928f73687c5d75b804b996951c6fd37b2e6"; # Real repo
|
url = "github:juanfont/headscale/1e22f17f36f8c13185dff269e6a00424b49b9568";
|
||||||
|
# url = "github:juanfont/headscale"; # Real repo
|
||||||
inputs."flake-utils".follows = "utils";
|
inputs."flake-utils".follows = "utils";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,26 +2,26 @@
|
||||||
{
|
{
|
||||||
name = "vaultwarden.nickiel.net";
|
name = "vaultwarden.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1";
|
value = "100.64.0.1/31";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "git.nickiel.net";
|
name = "git.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1";
|
value = "100.64.0.1/31";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "files.nickiel.net";
|
name = "files.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1";
|
value = "100.64.0.1/31";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "iot.nickiel.net";
|
name = "iot.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1";
|
value = "100.64.0.1/31";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "atuin.nickiel.net";
|
name = "atuin.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1";
|
value = "100.64.0.1/31";
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -21,15 +21,8 @@ in {
|
||||||
address = "0.0.0.0";
|
address = "0.0.0.0";
|
||||||
port = 8082;
|
port = 8082;
|
||||||
settings = {
|
settings = {
|
||||||
prefixes = {
|
|
||||||
v6 = "fd7a:115c:a1e0::/48";
|
|
||||||
v4 = "100.64.0.0/10";
|
|
||||||
};
|
|
||||||
server_url = "https://${domain}";
|
server_url = "https://${domain}";
|
||||||
database = {
|
# database.type = "sqlite";
|
||||||
type = "sqlite3";
|
|
||||||
sqlite.path = "/var/lib/headscale/db.sqlite";
|
|
||||||
};
|
|
||||||
dns_config = {
|
dns_config = {
|
||||||
base_domain = baseDomain;
|
base_domain = baseDomain;
|
||||||
extra_records = tailscale_dns_entries;
|
extra_records = tailscale_dns_entries;
|
||||||
|
|
Loading…
Reference in a new issue