feat: remove colmena, add own lightweight deploy script

This commit is contained in:
oddlama 2023-09-25 21:39:50 +02:00
parent b705d8266f
commit a4365be29f
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
8 changed files with 132 additions and 100 deletions

View file

@ -4,7 +4,7 @@
...
}: {
environment.etc."nixos/configuration.nix".source = pkgs.writeText "configuration.nix" ''
assert builtins.trace "This is a dummy config, use colmena!" false;
assert builtins.trace "This is a dummy config, please deploy via the flake!" false;
{ }
'';
@ -12,7 +12,7 @@
settings = {
auto-optimise-store = true;
allowed-users = ["@wheel"];
trusted-users = ["root" "@wheel"];
trusted-users = ["root"];
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"

View file

@ -11,6 +11,7 @@
environment.systemPackages = [pkgs.man-pages pkgs.man-pages-posix];
environment.enableDebugInfo = true;
# XXX: TODO reenable once https://github.com/symphorien/nixseparatedebuginfod/issues/11 is answered
services.nixseparatedebuginfod.enable = false;
services.nixseparatedebuginfod.enable = true;
nix.settings.allowed-users = ["nixseparatedebuginfod"];
}