config: cut down default host config

This commit is contained in:
Gabriel Arazas 2023-12-23 20:30:14 +08:00
parent 7a3b5404ec
commit 32d20ed2a3
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 21 additions and 13 deletions

View File

@ -101,15 +101,6 @@
inherit (final.nur.repos.rycee.firefox-addons) buildFirefoxXpiAddon; inherit (final.nur.repos.rycee.firefox-addons) buildFirefoxXpiAddon;
firefox-addons = final.callPackage ./pkgs/firefox-addons { }; firefox-addons = final.callPackage ./pkgs/firefox-addons { };
}) })
# Neovim nightly!
inputs.neovim-nightly-overlay.overlays.default
# Emacs unstable version!
inputs.emacs-overlay.overlays.default
# Access to NUR.
inputs.nur.overlay
] ++ (lib'.attrValues self.overlays); ] ++ (lib'.attrValues self.overlays);
defaultSystem = "x86_64-linux"; defaultSystem = "x86_64-linux";
@ -159,13 +150,10 @@
# Then, make the most with the modules from the flake inputs. Take # Then, make the most with the modules from the flake inputs. Take
# note importing some modules such as home-manager are as part of the # note importing some modules such as home-manager are as part of the
# declarative host config so be sure to check out # declarative host config so be sure to check out
# `hostSpecificModule` function as well. # `hostSpecificModule` function as well as the declarative host setup.
++ [ ++ [
inputs.nur.nixosModules.nur
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
inputs.nix-index-database.nixosModules.nix-index
inputs.nixos-wsl.nixosModules.default
]; ];
# Set some extra, yeah? # Set some extra, yeah?

View File

@ -11,6 +11,23 @@
ni = { ni = {
systems = [ "x86_64-linux" ]; systems = [ "x86_64-linux" ];
format = "iso"; format = "iso";
modules = [
inputs.nur.nixosModules.nur
inputs.nix-index-database.nixosModules.nix-index
{
nixpkgs.overlays = [
# Neovim nightly!
inputs.neovim-nightly-overlay.overlays.default
# Emacs unstable version!
inputs.emacs-overlay.overlays.default
# Access to NUR.
inputs.nur.overlay
];
}
];
}; };
plover = { plover = {
@ -43,5 +60,8 @@
winnowing = { winnowing = {
systems = [ "x86_64-linux" ]; systems = [ "x86_64-linux" ];
format = "iso"; format = "iso";
modules = [
inputs.nixos-wsl.nixosModules.default
];
}; };
} }