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

View file

@ -2,14 +2,12 @@
neovim-flake,
nixpkgs-wayland,
...
} @ inputs: {
nixpkgs.overlays = [
(import ./dracula-theme inputs)
(import ./plymouth inputs)
(import ./spotifywm inputs)
(import ./squeekboard)
} @ inputs: [
(import ./dracula-theme inputs)
(import ./plymouth inputs)
(import ./spotifywm inputs)
(import ./squeekboard)
neovim-flake.overlay
nixpkgs-wayland.overlay
];
}
neovim-flake.overlay
nixpkgs-wayland.overlay
]

View file

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

BIN
flake.nix

Binary file not shown.