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

@ -48,11 +48,11 @@
]
},
"locked": {
"lastModified": 1679067101,
"narHash": "sha256-tMI1inGT9u4KWQml0w30dhWqQPlth1e9K/68sfDkEQA=",
"lastModified": 1680555990,
"narHash": "sha256-Tu/i5sd0hk4c4VtWO8XpY3c9KmHDcOWF5Y2GSCh3LXA=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "9154cd519a8942728038819682d6b3ff33f321bb",
"rev": "d6f3ba090ed090ae664ab5bac329654093aae725",
"type": "github"
},
"original": {
@ -64,11 +64,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1679472241,
"narHash": "sha256-VK2YDic2NjPvfsuneJCLIrWS38qUfoW8rLLimx0rWXA=",
"lastModified": 1680498889,
"narHash": "sha256-4nGFBm+oILOO6DPoKTPxVlfkZSxCOY4W25zSRHESK48=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9ef6e7727f4c31507627815d4f8679c5841efb00",
"rev": "799d153e4f316143a9db0eb869ecf44d8d4c0356",
"type": "github"
},
"original": {

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 ];
};
};
}