Use flake-utils-plus

This commit is contained in:
Tibo De Peuter 2023-04-04 11:23:33 +02:00
parent e48d8502b6
commit 2f63ca1c69
2 changed files with 22 additions and 27 deletions

View file

@ -1,9 +1,9 @@
{
description = "System configuration of my machines using flakes";
inputs = {
nixpkgs.url = "nixpkgs/nixos-22.11";
devshell = {
url = "github:numtide/devshell";
inputs = {
@ -34,26 +34,21 @@
in
utils.lib.mkFlake {
inherit self inputs;
homeManagerConfigurations = {
tdpeuter = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
modules = [
./users/tdpeuter/home.nix
];
};
channelsConfig = {
allowUnfree = true;
};
nixosConfigurations = {
Tibo-NixFat = nixpkgs.lib.nixosSystem {
inherit system;
modules = [ ./hosts/Tibo-NixFat ];
};
Tibo-NixTest = nixpkgs.lib.nixosSystem {
inherit system;
modules = [ ./hosts/Tibo-NixTest ];
};
hostDefaults = {
inherit system;
modules = [
home-manager.nixosModule
];
};
hosts = {
Tibo-NixFat.modules = [ ./hosts/Tibo-NixFat ];
Tibo-NixTest.modules = [ ./hosts/Tibo-NixTest ];
};
};
}