ref(nix): lib.nix

This commit is contained in:
Léana 江 2024-02-11 13:25:47 +01:00 committed by Léana 江
parent 1df7fc9594
commit 66f6c5a702
2 changed files with 10 additions and 17 deletions

View file

@ -1,9 +1,9 @@
{
outputs = {...} @ inputs: let
inherit (import ./lib.nix inputs) makeOSFor makeHMFor;
inherit (import ./lib.nix inputs) mkNixOS mkHomeManager;
in {
nixosConfigurations = {
nixie = makeOSFor {
nixie = mkNixOS {
hostname = "nixie";
system = "x86_64-linux";
extraSettings = {
@ -15,7 +15,7 @@
};
homeConfigurations = {
"macOS" = makeHMFor {
"macOS" = mkHomeManager {
hostname = "macOS";
system = "aarch64-darwin";
extraSettings = {
@ -25,12 +25,12 @@
};
};
"pi4" = makeHMFor {
"pi4" = mkHomeManager {
hostname = "pi4";
system = "aarch64-linux";
};
"oracle" = makeHMFor {
"oracle" = mkHomeManager {
hostname = "oracle";
system = "aarch64-linux";
};