2024-11-20 16:52:13 +01:00
|
|
|
{ lib, pkgs, ... }:
|
2024-11-20 16:46:09 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib) mkDefault;
|
|
|
|
|
|
|
|
in
|
2024-11-20 14:26:33 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2024-11-20 16:04:22 +01:00
|
|
|
./hardware.nix
|
2024-11-20 14:26:33 +01:00
|
|
|
./networking.nix
|
|
|
|
./users.nix
|
|
|
|
];
|
2024-11-20 16:43:41 +01:00
|
|
|
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
2024-11-20 16:44:48 +01:00
|
|
|
system.stateVersion = "24.05"; # do not change
|
2024-11-20 16:46:09 +01:00
|
|
|
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
|
2024-11-20 16:52:13 +01:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
(pkgs.vim_configurable.customize {
|
|
|
|
name = "vim";
|
|
|
|
vimrcConfig.packages.myplugins = with pkgs.vimPlugins; {
|
|
|
|
start = [ vim-nix ]; # load plugin on startup
|
|
|
|
};
|
|
|
|
vimrcConfig.customRC = ''
|
|
|
|
" your custom vimrc
|
|
|
|
set nocompatible
|
|
|
|
set backspace=indent,eol,start
|
|
|
|
" Turn on syntax highlighting by default
|
|
|
|
syntax on
|
|
|
|
" ...
|
|
|
|
'';
|
|
|
|
})
|
|
|
|
wget
|
|
|
|
subversion
|
|
|
|
];
|
2024-11-20 14:26:33 +01:00
|
|
|
}
|