mirror of
https://github.com/itme-brain/nixos.git
synced 2026-05-08 14:50:12 -04:00
Compare commits
3 commits
42c9fbc6e1
...
9f4e6c6a65
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f4e6c6a65 | ||
|
|
133817cdc3 | ||
|
|
d29ec32959 |
5 changed files with 1 additions and 43 deletions
|
|
@ -11,7 +11,6 @@
|
||||||
../../keys
|
../../keys
|
||||||
../../modules/sops
|
../../modules/sops
|
||||||
../../modules/docker
|
../../modules/docker
|
||||||
../../modules/nix-ld
|
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./system.nix
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
../../../user
|
../../../user
|
||||||
../../keys
|
../../keys
|
||||||
../../modules/sops
|
../../modules/sops
|
||||||
../../modules/nix-ld
|
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./system.nix
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
../../../user
|
../../../user
|
||||||
../../keys
|
../../keys
|
||||||
../../modules/sops
|
../../modules/sops
|
||||||
../../modules/nix-ld
|
|
||||||
./system.nix
|
./system.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
{ pkgs, lib, config, ... }:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.modules.system.nix-ld;
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.modules.system.nix-ld = {
|
|
||||||
enable = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = any
|
|
||||||
(user: user.modules.user.neovim.enable or false)
|
|
||||||
(attrValues config.home-manager.users);
|
|
||||||
description = "Enable nix-ld so Mason-installed Neovim tools can run on NixOS.";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.nix-ld = {
|
|
||||||
enable = true;
|
|
||||||
libraries = with pkgs; [
|
|
||||||
curl
|
|
||||||
expat
|
|
||||||
fontconfig
|
|
||||||
freetype
|
|
||||||
glib
|
|
||||||
icu
|
|
||||||
libgcc
|
|
||||||
libGL
|
|
||||||
libxkbcommon
|
|
||||||
openssl
|
|
||||||
stdenv.cc.cc
|
|
||||||
zlib
|
|
||||||
zstd
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit f11e6a02db5cd8e4c8c1bdec0d34557ff995c32c
|
Subproject commit da6106c77470b336783951ff2bce795688e9663d
|
||||||
Loading…
Add table
Add a link
Reference in a new issue