2022-09-24 03:24:58 +00:00
|
|
|
{pkgs,...}:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
(toString ../../common)
|
2022-09-26 13:27:59 +00:00
|
|
|
<morph-options> # we include the options here to ensure that we can build with or without morph.
|
|
|
|
# morph-lib must be NIX_PATH and point to the lib path of the morph that is being
|
|
|
|
# used for deployment. This is done automatically with shell.nix.
|
2022-09-24 03:24:58 +00:00
|
|
|
];
|
|
|
|
config = {
|
|
|
|
environment.systemPackages = with pkgs; [ bridge-utils ];
|
|
|
|
programs.neovim.enable = true;
|
|
|
|
programs.neovim.vimAlias = true;
|
|
|
|
programs.neovim.viAlias = true;
|
2022-09-26 13:27:59 +00:00
|
|
|
|
|
|
|
environment.binbash.enable = true;
|
|
|
|
|
|
|
|
services.getty.autologinUser = "root";
|
|
|
|
|
|
|
|
services.sshd.enable = true;
|
|
|
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
2022-09-24 03:24:58 +00:00
|
|
|
|
|
|
|
system.stateVersion = "22.11";
|
2022-09-26 13:27:59 +00:00
|
|
|
|
|
|
|
nix.nixPath = with pkgs; [
|
|
|
|
"nixpkgs=/usr/src/nixpkgs"
|
|
|
|
"home-manager=/usr/src/nixpkgs"
|
|
|
|
"morph-options=${morph.lib}/options.nix"
|
|
|
|
];
|
2022-09-24 03:24:58 +00:00
|
|
|
};
|
|
|
|
}
|