update: initial homelab commit
This commit is contained in:
parent
e52403ef07
commit
c22d68423e
4 changed files with 178 additions and 13 deletions
|
|
@ -1,12 +1,51 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
services.vscode-server = {
|
||||
enable = true;
|
||||
enableFHS = true;
|
||||
installPath = "$HOME/.vscodium-server";
|
||||
};
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "fedfer-main-homelab-nixos";
|
||||
networking.hostName = "veneficium-main-homelab-nixos";
|
||||
|
||||
systemd.network.enable = true;
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Rome";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "it_IT.UTF-8";
|
||||
LC_IDENTIFICATION = "it_IT.UTF-8";
|
||||
LC_MEASUREMENT = "it_IT.UTF-8";
|
||||
LC_MONETARY = "it_IT.UTF-8";
|
||||
LC_NAME = "it_IT.UTF-8";
|
||||
LC_NUMERIC = "it_IT.UTF-8";
|
||||
LC_PAPER = "it_IT.UTF-8";
|
||||
LC_TELEPHONE = "it_IT.UTF-8";
|
||||
LC_TIME = "it_IT.UTF-8";
|
||||
};
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
layout = "it";
|
||||
variant = "";
|
||||
};
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "it2";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nano
|
||||
|
|
@ -15,8 +54,18 @@
|
|||
parted
|
||||
];
|
||||
|
||||
users.users.veneficium = {
|
||||
isNormalUser = true;
|
||||
description = "Veneficium";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
packages = with pkgs; [];
|
||||
};
|
||||
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
|
@ -24,6 +73,6 @@
|
|||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
#DO NOT CHANGE THIS! IMPORTANT! DO NOT CHANGE THIS!
|
||||
system.stateVersion = "23.11"; #DO NOT CHANGE THIS!
|
||||
system.stateVersion = "24.05"; #DO NOT CHANGE THIS!
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue