mirror of
https://github.com/RGBCube/ncc
synced 2025-09-13 17:47:57 +00:00
clean: move nixpkgs.hostPlatform declarations to hardware.nix
This commit is contained in:
parent
44342ee31d
commit
a7c9b60944
10 changed files with 17 additions and 7 deletions
|
@ -1,4 +1,8 @@
|
|||
lib: lib.darwinSystem {
|
||||
lib: lib.darwinSystem ({ lib, ... }: let
|
||||
inherit (lib) collectNix remove;
|
||||
in {
|
||||
imports = collectNix ./. |> remove ./default.nix;
|
||||
|
||||
type = "desktop";
|
||||
|
||||
networking.hostName = "pala";
|
||||
|
@ -13,6 +17,5 @@ lib: lib.darwinSystem {
|
|||
homeDirectory = "/Users/pala";
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
system.stateVersion = 5;
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue