mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 21:35:37 +00:00
get neovim added to install-iso
This commit is contained in:
parent
13014e6cc1
commit
fea0396dce
@ -1,7 +1,7 @@
|
|||||||
# The Staff
|
# The Staff
|
||||||
# ISO configuration for my USB drive
|
# ISO configuration for my USB drive
|
||||||
|
|
||||||
{ inputs, system, ... }:
|
{ inputs, system, overlays, ... }:
|
||||||
|
|
||||||
with inputs;
|
with inputs;
|
||||||
|
|
||||||
@ -9,6 +9,7 @@ nixos-generators.nixosGenerate {
|
|||||||
inherit system;
|
inherit system;
|
||||||
format = "install-iso";
|
format = "install-iso";
|
||||||
modules = [{
|
modules = [{
|
||||||
|
nixpkgs.overlays = overlays;
|
||||||
networking.hostName = "staff";
|
networking.hostName = "staff";
|
||||||
users.extraUsers.root.openssh.authorizedKeys.keys = [
|
users.extraUsers.root.openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s"
|
||||||
@ -25,11 +26,22 @@ nixos-generators.nixosGenerate {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
with (import inputs.nixpkgs { inherit system; }); [
|
let pkgs = import inputs.nixpkgs { inherit system overlays; };
|
||||||
|
in with pkgs; [
|
||||||
git
|
git
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
|
(import ../../modules/common/neovim/package {
|
||||||
|
inherit pkgs;
|
||||||
|
# colors = import ../../colorscheme/gruvbox.dark.neovimConfig {
|
||||||
|
# inherit pkgs;
|
||||||
|
# };
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
nix.extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
warn-dirty = false
|
||||||
|
'';
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user