Use flake-utils-plus

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

View file

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

View file

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