Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitaa3a132596e01b8bf15c6ca12cb23750c2d1875a (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-09-08 09:25:49 +0300
Committer
 Syndamia <kamen@syndamia.com>
2024-09-08 09:25:49 +0300
Files7d8b1ae6cd67d54014bbf5d466bbb4835875c4ed
nix-aa3a132596e01b8bf15c6ca12cb23750c2d1875a.tar
nix-aa3a132596e01b8bf15c6ca12cb23750c2d1875a.tar.gz
nix-aa3a132596e01b8bf15c6ca12cb23750c2d1875a.zip
Parentd08de54cc28521b383909da41ffbfc0358eb3b2c (diff)
feat(autoconfig)!: sysidentity is now just an attrset instead of having a property sysidentity
4 files changed, 14 insertions, 21 deletions
-rw-r--r--autoconfig.nix2
-rw-r--r--machines/juno/sysidentity.nix12
-rw-r--r--machines/minerva/sysidentity.nix13
-rw-r--r--machines/vesta/sysidentity.nix8
diff --git a/autoconfig.nix b/autoconfig.nix
index c39f974..cd40ee7 100644
--- a/autoconfig.nix
+++ b/autoconfig.nix
@@ -7,7 +7,7 @@ in {
lib.mapAttrs
(dir: _:
let
- inherit (import ./machines/${dir}/sysidentity.nix) sysidentity;
+ sysidentity = import ./machines/${dir}/sysidentity.nix;
modules-dir = ./modules + ("/" + (if sysidentity ? "modules-subpath" then sysidentity.modules-subpath else "personal"));
diff --git a/machines/juno/sysidentity.nix b/machines/juno/sysidentity.nix
index 63abf37..5f90eaa 100644
--- a/machines/juno/sysidentity.nix
+++ b/machines/juno/sysidentity.nix
@@ -2,12 +2,10 @@ let
groups = import ../../module-groups.nix;
in
{
- sysidentity = {
- name = "juno";
- arch = "x86_64-linux";
+ name = "juno";
+ arch = "x86_64-linux";
- drop = groups.non-laptop;
- #defaultempty = true;
- #have = groups.barebones;
- };
+ drop = groups.non-laptop;
+ #defaultempty = true;
+ #have = groups.barebones;
}
diff --git a/machines/minerva/sysidentity.nix b/machines/minerva/sysidentity.nix
index 06919b4..0afdb49 100644
--- a/machines/minerva/sysidentity.nix
+++ b/machines/minerva/sysidentity.nix
@@ -2,13 +2,10 @@ let
groups = import ../../module-groups.nix;
in
{
- sysidentity = {
- name = "minerva";
- type = "laptop";
- arch = "x86_64-linux";
+ name = "minerva";
+ arch = "x86_64-linux";
- defaultempty = false; # therefore drop will not remove from have
- have = [ "gui-powerful" ];
- drop = groups.non-laptop;
- };
+ defaultempty = false; # therefore drop will not remove from have
+ have = [ "gui-powerful" ];
+ drop = groups.non-laptop;
}
diff --git a/machines/vesta/sysidentity.nix b/machines/vesta/sysidentity.nix
index d5956de..a689f10 100644
--- a/machines/vesta/sysidentity.nix
+++ b/machines/vesta/sysidentity.nix
@@ -2,10 +2,8 @@ let
groups = import ../../module-groups.nix;
in
{
- sysidentity = {
- name = "vesta";
- arch = "x86_64-linux";
+ name = "vesta";
+ arch = "x86_64-linux";
- drop = groups.non-desktop;
- };
+ drop = groups.non-desktop;
}