formating

This commit is contained in:
Moritz Böhme 2021-09-15 01:36:49 +02:00
parent 09e0dfb312
commit d2a41d328d

View file

@ -4,7 +4,8 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-21.05"; nixpkgs.url = "github:nixos/nixpkgs/release-21.05";
unstable.url = "github:nixos/nixpkgs/nixos-unstable"; unstable.url = "github:nixos/nixpkgs/nixos-unstable";
utils.url = "github:gytis-ivaskevicius/flake-utils-plus/release-1.2.0-without-deprecated-code"; utils.url =
"github:gytis-ivaskevicius/flake-utils-plus/release-1.2.0-without-deprecated-code";
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
@ -33,9 +34,7 @@
inherit self inputs; inherit self inputs;
overlay = import ./overlays { inherit inputs; }; overlay = import ./overlays { inherit inputs; };
overlays = utils.lib.exportOverlays { overlays = utils.lib.exportOverlays { inherit (self) pkgs inputs; };
inherit (self) pkgs inputs;
};
channels.nixpkgs.overlaysBuilder = channels: [ channels.nixpkgs.overlaysBuilder = channels: [
self.overlay self.overlay
@ -53,9 +52,7 @@
channelsConfig.allowUnfree = true; channelsConfig.allowUnfree = true;
nixosModules = utils.lib.exportModules [ nixosModules = utils.lib.exportModules [ ./modules/default.nix ];
./modules/default.nix
];
hostDefaults.modules = [ hostDefaults.modules = [
home-manager.nixosModule home-manager.nixosModule
@ -70,8 +67,6 @@
agenix.nixosModules.age agenix.nixosModules.age
]; ];
hosts.nixos-laptop.modules = [ hosts.nixos-laptop.modules = [ ./hosts/nixos-laptop ];
./hosts/nixos-laptop
];
}; };
} }