sourcephile
/
git
/
julm
/
julm-nix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7685bde
)
home-manager: nix default host.hardware
author
Julien Moutinho
<julm@sourcephile.fr>
Sun, 28 Mar 2021 01:25:46 +0000
(
03:25
+0200)
committer
Julien Moutinho
<julm@sourcephile.fr>
Sun, 28 Mar 2021 01:25:46 +0000
(
03:25
+0200)
homes/options.nix
patch
|
blob
|
history
diff --git
a/homes/options.nix
b/homes/options.nix
index eae0095ddf0fc6e9fbf5037f3868f065d90d53e8..a3bad6fd7df3571407b96b6de84835ee43150ff1 100644
(file)
--- a/
homes/options.nix
+++ b/
homes/options.nix
@@
-10,7
+10,7
@@
options.host = {
hardware = lib.mkOption {
type = with lib.types; listOf str;
default = filter (x: isString x && x != "") (split "[ \n]+" (readFile
- "/sys/devices/virtual/dmi/id/product_
version
"));
+ "/sys/devices/virtual/dmi/id/product_
name
"));
description = "hardware";
};
desktop = lib.mkEnableOption "desktop profile";