refactor: make overlay default.nix nix-on-droid friendly

This commit is contained in:
matt1432 2024-01-17 20:40:12 -05:00
parent 3ef10bd568
commit a7956d6185
4 changed files with 20 additions and 21 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
]