Use my own fork of flake-utils-plus for now

This allows the use of nixpkgs.config.allowedUnfreePackages again
This commit is contained in:
Charlotte Van Petegem 2021-03-24 12:07:36 +01:00
parent eb385040a7
commit 1df0b2f6fd
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 7 additions and 10 deletions

10
flake.lock generated
View file

@ -80,15 +80,15 @@
"flake-utils": "flake-utils" "flake-utils": "flake-utils"
}, },
"locked": { "locked": {
"lastModified": 1616328024, "lastModified": 1616582947,
"narHash": "sha256-t5FrJlYiN1HojtN3eRWlPhmzH2+5pdB22AfosbphI6c=", "narHash": "sha256-nXJTA78Wk940aF6p6UQCpTLuHVV0tnfJtyDGay+0xMY=",
"owner": "gytis-ivaskevicius", "owner": "chvp",
"repo": "flake-utils-plus", "repo": "flake-utils-plus",
"rev": "51cb739c9c9c2258bc70747eb7bc22975ae244bd", "rev": "97f6aa2fb92c699057d7199bcf629ad4bc8f4717",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "gytis-ivaskevicius", "owner": "chvp",
"ref": "master", "ref": "master",
"repo": "flake-utils-plus", "repo": "flake-utils-plus",
"type": "github" "type": "github"

View file

@ -8,7 +8,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
utils.url = "github:gytis-ivaskevicius/flake-utils-plus/master"; utils.url = "github:chvp/flake-utils-plus/master";
}; };
outputs = inputs@{ self, nixpkgs, emacs-overlay, home-manager, utils }: utils.lib.systemFlake { outputs = inputs@{ self, nixpkgs, emacs-overlay, home-manager, utils }: utils.lib.systemFlake {
@ -16,12 +16,9 @@
channels.nixpkgs = { channels.nixpkgs = {
input = nixpkgs; input = nixpkgs;
patches = [ ]; patches = [ ];
# TODO: Try to find a way to get rid of this and return to the
# list built up in the config.
config = { allowUnfree = true; };
}; };
sharedOverlays = [ emacs-overlay.overlay ];
sharedModules = [ sharedModules = [
({ nixpkgs.overlays = [ emacs-overlay.overlay ]; })
utils.nixosModules.saneFlakeDefaults utils.nixosModules.saneFlakeDefaults
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
./modules ./modules