refactor: make overlay default.nix nix-on-droid friendly
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-17 20:40:12 -05:00
parent 3ef10bd568
commit a7956d6185
4 changed files with 14 additions and 20 deletions

View file

@ -7,12 +7,11 @@
nurl, nurl,
pkgs, pkgs,
... ...
}: { } @ inputs: {
imports = [ imports = [
./vars.nix ./vars.nix
./modules ./modules
./overlays
./pkgs ./pkgs
nur.nixosModules.nur nur.nixosModules.nur
@ -20,7 +19,10 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs = {
config.allowUnfree = true;
overlays = import ./overlays inputs;
};
boot.tmp.cleanOnBoot = true; boot.tmp.cleanOnBoot = true;
nix = { nix = {

View file

@ -2,8 +2,7 @@
neovim-flake, neovim-flake,
nixpkgs-wayland, nixpkgs-wayland,
... ...
} @ inputs: { } @ inputs: [
nixpkgs.overlays = [
(import ./dracula-theme inputs) (import ./dracula-theme inputs)
(import ./plymouth inputs) (import ./plymouth inputs)
(import ./spotifywm inputs) (import ./spotifywm inputs)
@ -11,5 +10,4 @@
neovim-flake.overlay neovim-flake.overlay
nixpkgs-wayland.overlay nixpkgs-wayland.overlay
]; ]
}

View file

@ -1,7 +1,5 @@
{ {
home-manager, home-manager,
neovim-flake,
nix-on-droid,
nixpkgs, nixpkgs,
... ...
} @ inputs: { } @ inputs: {
@ -9,11 +7,7 @@
home-manager-path = home-manager.outPath; home-manager-path = home-manager.outPath;
pkgs = import nixpkgs { pkgs = import nixpkgs {
system = "aarch64-linux"; system = "aarch64-linux";
overlays = [ overlays = import ../../common/overlays inputs;
nix-on-droid.overlays.default
neovim-flake.overlay
(import ../../common/overlays/dracula-theme inputs)
];
}; };
modules = [ modules = [

BIN
flake.nix

Binary file not shown.