My NixOS configuration
Find a file
2024-01-17 17:51:47 +01:00
home-manager home/neovim: Added salt plugin 2024-01-17 17:51:47 +01:00
machines Drop jimbo and milhouse (old laptops) 2023-12-30 04:00:39 +01:00
modules modules/sus-then-hib: Switch to systemds suspend-then-hibernate 2024-01-07 16:45:47 +01:00
nix niv: Update to 23.11 2023-12-01 16:59:53 +01:00
overlay@d71489b339 Update overlay 2023-12-18 20:27:22 +01:00
roles drop tailscale. Back to plain WG 2023-12-30 04:02:17 +01:00
secrets@ed51303035 bump secrets 2023-12-30 04:01:36 +01:00
users user: Added ssh key for smithers 2023-12-01 14:54:56 +01:00
.gitmodules Added overlay submodule 2023-10-04 23:11:20 +02:00
customOptions.nix modules/tlp: Make optional via custom options 2023-12-01 16:58:58 +01:00
README.md Added dell.nix for work laptop 2023-08-15 14:52:40 +02:00

nixos-configuration

The NixOS configuration for my workstations.

Add required channel Channel

nix-channel --add https://channels.nixos.org/nixos-22.11 nixos
nix-channel --add https://channels.nixos.org/nixos-unstable nixos-unstable
nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware
nix-channel --update -v

Usage

Symlink /etc/nixos/configuration.nix to the corresponding machines/<hostname>/configuration.nix entry and just keep using nixos-rebuild like nothing happend.

My Dell work laptop

My employer gave me a laptop with Ubuntu installed and is not that happy with the idea of me running NixOS on it. Therefore I at least installed Home-Manager in standalone mode on it and created the dell.nix that can be used by symlinking it to ~/.config/home-manager/home.nix. This way I at least get recent versions of tools with all of my personal config for e.g. Neovim.