mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
refactor
This commit is contained in:
@@ -1,13 +1,6 @@
|
||||
{ inputs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
host = "computer-mo";
|
||||
|
||||
mkHost = inputs.self.lib.mkHost;
|
||||
in
|
||||
{
|
||||
flake.nixosConfigurations.${host} = mkHost {
|
||||
inherit system host;
|
||||
extraModules = [ inputs.self.nixosModules.${host} ];
|
||||
{ inputs, ... }: {
|
||||
flake.nixosConfigurations."computer-mo" = inputs.self.lib.mkHost {
|
||||
system = "x86_64-linux";
|
||||
host = "computer-mo";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user