2024-11-18 12:11:32 +01:00
|
|
|
{ pkgs, ... }:
|
2024-11-18 10:48:16 +01:00
|
|
|
|
|
|
|
{
|
2024-11-20 15:07:09 +01:00
|
|
|
imports = [ ../common ];
|
|
|
|
|
|
|
|
procolix.vm = {
|
|
|
|
name = "vm02116";
|
|
|
|
ip4 = "185.206.232.34";
|
|
|
|
ip6 = "2a00:51c0:12:1201::20";
|
|
|
|
};
|
2024-11-18 10:48:16 +01:00
|
|
|
|
|
|
|
# List packages installed in system profile. To search, run:
|
|
|
|
# $ nix search wget
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
(pkgs.vim_configurable.customize {
|
2024-11-18 12:11:32 +01:00
|
|
|
name = "vim";
|
|
|
|
vimrcConfig.packages.myplugins = with pkgs.vimPlugins; {
|
|
|
|
start = [ vim-nix ]; # load plugin on startup
|
2024-11-18 10:48:16 +01:00
|
|
|
};
|
|
|
|
vimrcConfig.customRC = ''
|
|
|
|
" your custom vimrc
|
|
|
|
set nocompatible
|
|
|
|
set backspace=indent,eol,start
|
|
|
|
" Turn on syntax highlighting by default
|
|
|
|
syntax on
|
|
|
|
" ...
|
|
|
|
'';
|
|
|
|
})
|
2024-11-18 12:11:32 +01:00
|
|
|
wget
|
|
|
|
subversion
|
2024-11-18 10:48:16 +01:00
|
|
|
];
|
|
|
|
|
2024-11-21 11:57:26 +01:00
|
|
|
## vm02116 is running on old hardware based on a Xen VM environment, so it
|
|
|
|
## needs these extra options. Once the VM gets moved to a newer node, these
|
|
|
|
## two options can safely be removed.
|
|
|
|
boot.initrd.availableKernelModules = [ "xen_blkfront" ];
|
2024-11-20 15:04:48 +01:00
|
|
|
services.xe-guest-utilities.enable = true;
|
2024-11-18 10:48:16 +01:00
|
|
|
|
|
|
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
|
|
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
|
|
|
#
|
|
|
|
# Most users should NEVER change this value after the initial install, for any reason,
|
|
|
|
# even if you've upgraded your system to a new NixOS release.
|
|
|
|
#
|
|
|
|
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
|
|
|
|
# so changing it will NOT upgrade your system.
|
|
|
|
#
|
|
|
|
# This value being lower than the current NixOS release does NOT mean your system is
|
|
|
|
# out of date, out of support, or vulnerable.
|
|
|
|
#
|
|
|
|
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
|
|
|
|
# and migrated your data accordingly.
|
|
|
|
#
|
|
|
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
2024-11-18 12:11:32 +01:00
|
|
|
system.stateVersion = "24.05";
|
2024-11-18 10:48:16 +01:00
|
|
|
}
|