actually works lol

This commit is contained in:
Gerg-L 2024-05-08 20:50:30 -04:00
parent 1ce3e3bffb
commit ab478a238e
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
2 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
_:
{self, ...}:
{
pkgs,
lib,
@ -55,13 +55,13 @@ in
"Xorg/1_mon.conf".source = pkgs.runCommand "1_mon.conf" { } (
xserverbase
+ ''
cat ${./1_mon.conf} >> $out
cat ${self}/hosts/gerg-desktop/1_mon.conf >> $out
''
);
"Xorg/2_mon.conf".source = pkgs.runCommand "2_mon.conf" { } (
xserverbase
+ ''
cat ${./2_mon.conf} >> $out
cat ${self}/hosts/gerg-desktop/1_mon.conf >> $out
''
);
};

View file

@ -48,10 +48,8 @@ rec {
lib.listToAttrs (
map (name: {
name = lib.pipe name [
toString
(lib.removeSuffix ".nix")
(lib.removePrefix "${toString path}/")
(lib.removePrefix "${path}/")
];
value = fixModuleSystem name;
}) (listNixFilesRecursiveDiscardStringContext path)