Added parts of sources to nixfiles.

Needs further automation, eventually. Gitea also now set up properly.
This commit is contained in:
kat witch 2021-02-23 17:29:13 +00:00
parent 05d4f262f8
commit 469dbda517
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 20 additions and 1 deletions

View file

@ -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" ];

View file

@ -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";
};

View file

@ -68,6 +68,18 @@
"url": "https://github.com/nixos/nixpkgs/archive/cacb9ac7a5157363a91a1dfb31607024db3bb717.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.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/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs-unstable": {
"branch": "nixos-unstable-small",
"description": "Nix Packages collection",