mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
overlays by default
This commit is contained in:
parent
32d3ab71e8
commit
daf4845e6e
4 changed files with 12 additions and 21 deletions
|
@ -9,7 +9,7 @@
|
||||||
restic
|
restic
|
||||||
docker
|
docker
|
||||||
];
|
];
|
||||||
nixpkgs.overlays = [inputs.pinix.overlays.default];
|
|
||||||
cli.enable = true;
|
cli.enable = true;
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -32,9 +32,16 @@ in rec {
|
||||||
mkSystem = hostname:
|
mkSystem = hostname:
|
||||||
nixosSystem {
|
nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules =
|
modules = [
|
||||||
[../modules/common.nix]
|
../modules/common.nix
|
||||||
|
|
||||||
|
# ({...}: nixpkgs.overlays = [ import ../overlays {}; ])
|
||||||
|
(_:
|
||||||
|
{ nixpkgs.overlays = import ../overlays _ ++
|
||||||
|
[inputs.pinix.overlays.default]; })
|
||||||
|
]
|
||||||
++ filter isNixFile (listFilesRecursive (../. + "/hosts/${hostname}"));
|
++ filter isNixFile (listFilesRecursive (../. + "/hosts/${hostname}"));
|
||||||
|
|
||||||
specialArgs = {inherit inputs mkRune;};
|
specialArgs = {inherit inputs mkRune;};
|
||||||
};
|
};
|
||||||
mapHosts = dir: mapAttrs (name: _: mkSystem name) (readDir dir);
|
mapHosts = dir: mapAttrs (name: _: mkSystem name) (readDir dir);
|
||||||
|
|
|
@ -10,15 +10,10 @@
|
||||||
in {
|
in {
|
||||||
options.languages.nim = mkEnableOption "nim";
|
options.languages.nim = mkEnableOption "nim";
|
||||||
config = mkIf cfg.nim {
|
config = mkIf cfg.nim {
|
||||||
nixpkgs.overlays = [
|
|
||||||
(import ../../overlays/nimlsp {})
|
|
||||||
(import ../../overlays/nimble {})
|
|
||||||
(import ../../overlays/nim-atlas {})
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nim-atlas
|
|
||||||
nim
|
nim
|
||||||
|
|
||||||
|
nim-atlas
|
||||||
nimble
|
nimble
|
||||||
nimlsp
|
nimlsp
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
{...}: (_final: prev: {
|
|
||||||
hyprland = prev.hyprland.overrideAttrs {
|
|
||||||
src = prev.fetchFromGitHub {
|
|
||||||
version = "main-20240121";
|
|
||||||
owner = "hyprwm";
|
|
||||||
repo = "Hyprland";
|
|
||||||
rev = "3c964a9fdc220250a85b1c498e5b6fad9390272f";
|
|
||||||
hash = "sha256-oIt4bUVXRR7qnBPizcPA7fTiZl4xz9QaSdzLNukjtkw=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
})
|
|
Loading…
Reference in a new issue