diff --git a/config/common/default.nix b/config/common/default.nix index 0acc154f..34a36924 100644 --- a/config/common/default.nix +++ b/config/common/default.nix @@ -6,6 +6,13 @@ let in { imports = [ ../../modules ../users (sources.home-manager + "/nixos") ]; + nix.nixPath = [ + "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos" + "nixpkgs-unstable=${sources.nixpkgs-unstable}" + "nixpkgs-mozilla=${sources.nixpkgs-mozilla}" + "arc=${sources.arc-nixexprs}" + ]; + #boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; #boot.kernelParams = [ "quiet" ]; diff --git a/config/hosts/athame/gitea.nix b/config/hosts/athame/gitea.nix index 795a119b..f72dc462 100644 --- a/config/hosts/athame/gitea.nix +++ b/config/hosts/athame/gitea.nix @@ -3,7 +3,7 @@ { services.gitea = { enable = true; - disableRegistration = true; # TODO change for initial setup + disableRegistration = true; domain = "git.kittywit.ch"; rootUrl = "https://git.kittywit.ch"; }; diff --git a/nix/sources.json b/nix/sources.json index b3423e3c..f6c533d3 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -68,6 +68,18 @@ "url": "https://github.com/nixos/nixpkgs/archive/cacb9ac7a5157363a91a1dfb31607024db3bb717.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, + "nixpkgs-mozilla": { + "branch": "master", + "description": "mozilla related nixpkgs (extends nixos/nixpkgs repo)", + "homepage": "", + "owner": "mozilla", + "repo": "nixpkgs-mozilla", + "rev": "8c007b60731c07dd7a052cce508de3bb1ae849b4", + "sha256": "1zybp62zz0h077zm2zmqs2wcg3whg6jqaah9hcl1gv4x8af4zhs6", + "type": "tarball", + "url": "https://github.com/mozilla/nixpkgs-mozilla/archive/8c007b60731c07dd7a052cce508de3bb1ae849b4.tar.gz", + "url_template": "https://github.com///archive/.tar.gz" + }, "nixpkgs-unstable": { "branch": "nixos-unstable-small", "description": "Nix Packages collection",