refactor: consistence
This commit is contained in:
17
nixos/system/yukkop/default.nix
Normal file
17
nixos/system/yukkop/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
flake,
|
||||
self,
|
||||
inputs,
|
||||
system,
|
||||
...
|
||||
}: let
|
||||
# Use folder name as name of this system
|
||||
name = builtins.baseNameOf ./.;
|
||||
|
||||
in self.lib.nixpkgs-lib.nixosSystem {
|
||||
inherit (self.legacyPackages."${system}") pkgs;
|
||||
modules = [
|
||||
{ networking.hostName = name; }
|
||||
(import ./${name}.nix { inherit flake self inputs; })
|
||||
];
|
||||
}
|
||||
21
nixos/system/yukkop/devvm-manual.nix
Normal file
21
nixos/system/yukkop/devvm-manual.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
inputs,
|
||||
flake,
|
||||
self,
|
||||
}: {
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
self.nixosModules.hectic
|
||||
];
|
||||
|
||||
hectic = {
|
||||
archetype.base.enable = true;
|
||||
hardware.lenovo-legion.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user