mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
actually works lol
This commit is contained in:
parent
1ce3e3bffb
commit
ab478a238e
2 changed files with 4 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
_:
|
{self, ...}:
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
|
@ -55,13 +55,13 @@ in
|
||||||
"Xorg/1_mon.conf".source = pkgs.runCommand "1_mon.conf" { } (
|
"Xorg/1_mon.conf".source = pkgs.runCommand "1_mon.conf" { } (
|
||||||
xserverbase
|
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" { } (
|
"Xorg/2_mon.conf".source = pkgs.runCommand "2_mon.conf" { } (
|
||||||
xserverbase
|
xserverbase
|
||||||
+ ''
|
+ ''
|
||||||
cat ${./2_mon.conf} >> $out
|
cat ${self}/hosts/gerg-desktop/1_mon.conf >> $out
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -48,10 +48,8 @@ rec {
|
||||||
lib.listToAttrs (
|
lib.listToAttrs (
|
||||||
map (name: {
|
map (name: {
|
||||||
name = lib.pipe name [
|
name = lib.pipe name [
|
||||||
|
|
||||||
toString
|
|
||||||
(lib.removeSuffix ".nix")
|
(lib.removeSuffix ".nix")
|
||||||
(lib.removePrefix "${toString path}/")
|
(lib.removePrefix "${path}/")
|
||||||
];
|
];
|
||||||
value = fixModuleSystem name;
|
value = fixModuleSystem name;
|
||||||
}) (listNixFilesRecursiveDiscardStringContext path)
|
}) (listNixFilesRecursiveDiscardStringContext path)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue