Compare commits

..

No commits in common. "c92e49b5f9fda9ca2e861b32d8a71e35e72efe91" and "7d13953c9d851efb894fddb3d88dea8108c7e987" have entirely different histories.

4 changed files with 16 additions and 43 deletions

26
flake.lock generated
View file

@ -450,36 +450,20 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1746422338, "lastModified": 1751274312,
"narHash": "sha256-NTtKOTLQv6dPfRe00OGSywg37A1FYqldS6xiNmqBUYc=", "narHash": "sha256-/bVBlRpECLVzjV19t5KMdMFWSwKLtb5RyXdjz3LJT+g=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5b35d248e9206c1f3baf8de6a7683fee126364aa", "rev": "50ab793786d9de88ee30ec4e4c24fb4236fc2674",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "nixos",
"ref": "nixos-24.11", "ref": "nixos-24.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-stable_3": {
"locked": {
"lastModified": 1749086602,
"narHash": "sha256-DJcgJMekoxVesl9kKjfLPix2Nbr42i7cpEHJiTnBUwU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4792576cb003c994bd7cc1edada3129def20b27d",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1754772842, "lastModified": 1754772842,

View file

@ -4,8 +4,8 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-unstable-small.url = "github:nixos/nixpkgs/nixos-unstable-small"; nixos-unstable-small.url = "github:nixos/nixpkgs/nixos-unstable-small";
nixpkgs.follows = "nixos-cosmic/nixpkgs"; # nixpkgs.follows = "nixos-cosmic/nixpkgs";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
@ -162,7 +162,6 @@
}; };
dalinar = nixpkgs-stable.lib.nixosSystem { dalinar = nixpkgs-stable.lib.nixosSystem {
inherit system; inherit system;
pkgs = stable;
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
./systems/dalinar/configuration.nix ./systems/dalinar/configuration.nix

View file

@ -17,6 +17,8 @@ in {
settings = { auto-optimise-store = true; }; settings = { auto-optimise-store = true; };
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
}; };
# nixpkgs.config.allowUnFree = true;
# pkgs.config.allowUnfree = true;
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;

View file

@ -147,6 +147,7 @@
services.locate = { services.locate = {
enable = true; enable = true;
package = pkgs.plocate; package = pkgs.plocate;
localuser = null;
}; };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
@ -204,8 +205,6 @@
"vpnui.cochrun.xyz" "vpnui.cochrun.xyz"
"inv.cochrun.xyz" "inv.cochrun.xyz"
"tubesync.cochrun.xyz" "tubesync.cochrun.xyz"
"amp.cochrun.xyz"
"workout.cochrun.xyz"
]; ];
passwordFile = "/home/chris/ddclientp"; passwordFile = "/home/chris/ddclientp";
protocol = "namecheap"; protocol = "namecheap";
@ -289,11 +288,6 @@
reverse_proxy localhost:8123 reverse_proxy localhost:8123
''; '';
}; };
virtualHosts = {
"amp.cochrun.xyz".extraConfig = ''
reverse_proxy localhost:4533
'';
};
virtualHosts = { virtualHosts = {
"ai.cochrun.xyz".extraConfig = '' "ai.cochrun.xyz".extraConfig = ''
reverse_proxy localhost:11434 reverse_proxy localhost:11434
@ -306,7 +300,7 @@
}; };
virtualHosts = { virtualHosts = {
"inv.cochrun.xyz".extraConfig = '' "inv.cochrun.xyz".extraConfig = ''
reverse_proxy http://127.0.0.1:3499 reverse_proxy http://127.0.0.1:3000
''; '';
}; };
virtualHosts = { virtualHosts = {
@ -334,11 +328,11 @@
reverse_proxy localhost:9091 reverse_proxy localhost:9091
''; '';
}; };
# virtualHosts = { virtualHosts = {
# "rtl.cochrun.xyz".extraConfig = '' "rtl.cochrun.xyz".extraConfig = ''
# reverse_proxy localhost:3000 reverse_proxy localhost:3000
# ''; '';
# }; };
virtualHosts = { virtualHosts = {
"prowlarr.cochrun.xyz".extraConfig = '' "prowlarr.cochrun.xyz".extraConfig = ''
reverse_proxy localhost:9696 reverse_proxy localhost:9696
@ -384,12 +378,6 @@
}; };
}; };
services.adguardhome = {
enable = true;
mutableSettings = true;
allowDHCP = true;
};
systemd.services = { systemd.services = {
nextcloud-cron = { nextcloud-cron = {
enable = true; enable = true;