update nixos

This commit is contained in:
Gabriel Ebner 2021-09-29 10:23:27 +02:00
parent 4c948bf59a
commit 4e4b859940
2 changed files with 11 additions and 9 deletions

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1631962327, "lastModified": 1632660378,
"narHash": "sha256-h2fgtNHozEcB42BQ1QVWAJUpQ1FA3gpgq/RrOKAxbfE=", "narHash": "sha256-sjA8eQlnyDjDLyAyq3XlJmN0nqW0ftl/pb7VnMg86L0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bc9b956714ed6eac5f8888322aac5bc41389defa", "rev": "31ffc50c571e6683e9ecc9dbcbd4a8e9914b4497",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -42,15 +42,16 @@
"flake-utils": "flake-utils" "flake-utils": "flake-utils"
}, },
"locked": { "locked": {
"lastModified": 1631138716, "lastModified": 1632420560,
"narHash": "sha256-hp+/dyKWtt9p0MD7dNTR1foRWrjcitUp3848OnRQz7w=", "narHash": "sha256-8Tsa4Hp/CHCA6J8/E7EODhp75z5N1NBhFiOb3lBv/tI=",
"owner": "gytis-ivaskevicius", "owner": "gytis-ivaskevicius",
"repo": "flake-utils-plus", "repo": "flake-utils-plus",
"rev": "51169bf93d010a874bc8fe8ea3dee1c24471b697", "rev": "4b1bcafcfcd78bd36ceabfe3872822ba5c7fcbe8",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "gytis-ivaskevicius", "owner": "gytis-ivaskevicius",
"ref": "v1.3.0",
"repo": "flake-utils-plus", "repo": "flake-utils-plus",
"type": "github" "type": "github"
} }

@ -2,7 +2,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
utils.url = "github:gytis-ivaskevicius/flake-utils-plus"; utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.0";
# neovim-overlay = { # neovim-overlay = {
# url = "github:nix-community/neovim-nightly-overlay"; # url = "github:nix-community/neovim-nightly-overlay";
@ -10,16 +10,17 @@
# }; # };
}; };
outputs = inputs@{ self, nixpkgs, utils, ... }: utils.lib.systemFlake { outputs = inputs@{ self, nixpkgs, utils, ... }: utils.lib.mkFlake {
inherit self inputs; inherit self inputs;
channels.nixpkgs.input = nixpkgs; channels.nixpkgs.input = nixpkgs;
channels.nixpkgs.patches = [ ]; channels.nixpkgs.patches = [ ];
nix.generateRegistryFromInputs = true;
hostDefaults = { hostDefaults = {
modules = [ modules = [
utils.nixosModules.saneFlakeDefaults
({ ... }: { nix.extraOptions = "warn-dirty = false"; }) ({ ... }: { nix.extraOptions = "warn-dirty = false"; })
]; ];
}; };