mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -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
|
||||
docker
|
||||
];
|
||||
nixpkgs.overlays = [inputs.pinix.overlays.default];
|
||||
|
||||
cli.enable = true;
|
||||
desktop.enable = true;
|
||||
|
||||
|
|
|
@ -32,9 +32,16 @@ in rec {
|
|||
mkSystem = hostname:
|
||||
nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules =
|
||||
[../modules/common.nix]
|
||||
modules = [
|
||||
../modules/common.nix
|
||||
|
||||
# ({...}: nixpkgs.overlays = [ import ../overlays {}; ])
|
||||
(_:
|
||||
{ nixpkgs.overlays = import ../overlays _ ++
|
||||
[inputs.pinix.overlays.default]; })
|
||||
]
|
||||
++ filter isNixFile (listFilesRecursive (../. + "/hosts/${hostname}"));
|
||||
|
||||
specialArgs = {inherit inputs mkRune;};
|
||||
};
|
||||
mapHosts = dir: mapAttrs (name: _: mkSystem name) (readDir dir);
|
||||
|
|
|
@ -10,15 +10,10 @@
|
|||
in {
|
||||
options.languages.nim = mkEnableOption "nim";
|
||||
config = mkIf cfg.nim {
|
||||
nixpkgs.overlays = [
|
||||
(import ../../overlays/nimlsp {})
|
||||
(import ../../overlays/nimble {})
|
||||
(import ../../overlays/nim-atlas {})
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nim-atlas
|
||||
nim
|
||||
|
||||
nim-atlas
|
||||
nimble
|
||||
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