mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2024-10-18 05:17:45 +00:00
h/m/snowflake: some basic utilities added
Change-Id: I4a043aeb11fc3772705b4447196d739cef8db01a Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1982 Reviewed-by: ar <ar@hackerspace.pl>
This commit is contained in:
parent
f9faf30ac4
commit
c1a5dd943b
2 changed files with 28 additions and 4 deletions
|
@ -24,9 +24,6 @@ in {
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "snowflake";
|
||||
networking.nameservers = [ "185.236.240.1" ];
|
||||
|
||||
|
@ -53,7 +50,31 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
environment.noXlibs = false;
|
||||
environment.systemPackages = with pkgs; [
|
||||
hwloc tcpdump htop git file ncdu nftables
|
||||
];
|
||||
|
||||
programs = {
|
||||
mtr.enable = true;
|
||||
neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
configure.customRC = ''
|
||||
set mouse=""
|
||||
'';
|
||||
};
|
||||
tmux = {
|
||||
enable = true;
|
||||
terminal = "screen256-color";
|
||||
clock24 = true;
|
||||
};
|
||||
bash.completion.enable = true;
|
||||
mosh.enable = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
users.users.root.openssh.authorizedKeys.keys = lib.attrsets.foldlAttrs (acc: _: v: v ++ acc) [] ssh-keys;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "snowflake/ROOT/nixos";
|
||||
fsType = "zfs";
|
||||
|
|
Loading…
Reference in a new issue