diff --git a/flake.nix b/flake.nix index a5a890f6..8c6c8e12 100644 --- a/flake.nix +++ b/flake.nix @@ -73,11 +73,10 @@ nixos = { imports = [(digga.lib.importOverlays ./overlays)]; overlays = [ - deploy.overlay (self: super: { deploy-rs = { inherit (inputs.nixos.legacyPackages.x86_64-linux) deploy-rs; - lib = super.deploy-rs.lib; + lib = inputs.deploy.lib.x86_64-linux; }; }) ]; @@ -186,7 +185,7 @@ profilesOrder = ["system" "direnv"]; profiles.direnv = { user = "barkeeper"; - path = self.channels.nixos.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.barkeeper; + path = self.pkgs.x86_64-linux.nixos.deploy-rs.lib.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.barkeeper; }; }; #example = { diff --git a/hosts/flora-6/flora-6.nix b/hosts/flora-6/flora-6.nix index 6e376e4f..55e88da7 100644 --- a/hosts/flora-6/flora-6.nix +++ b/hosts/flora-6/flora-6.nix @@ -136,8 +136,10 @@ in { # Enable the OpenSSH daemon. services.openssh = { enable = true; - passwordAuthentication = false; - permitRootLogin = "no"; + settings = { + PasswordAuthentication = false; + PermitRootLogin = "no"; + }; }; # We manage the firewall with nix, too diff --git a/hosts/flora-6/gitea.nix b/hosts/flora-6/gitea.nix index d7ada722..38527124 100644 --- a/hosts/flora-6/gitea.nix +++ b/hosts/flora-6/gitea.nix @@ -25,13 +25,15 @@ type = "postgres"; passwordFile = config.age.secrets.gitea-database-password.path; }; - domain = "git.pub.solar"; - httpAddress = "127.0.0.1"; - httpPort = 3000; lfs.enable = true; mailerPasswordFile = config.age.secrets.gitea-mailer-password.path; - rootUrl = "https://git.pub.solar"; settings = { + server = { + ROOT_URL = "https://git.pub.solar"; + DOMAIN = "git.pub.solar"; + HTTP_ADDR = "127.0.0.1"; + HTTP_PORT = 3000; + }; mailer = { ENABLED = true; PROTOCOL = "smtps";