My NixOS configuration
Find a file
2023-12-30 03:59:24 +01:00
home-manager home: Added config file for tig 2023-12-18 21:00:43 +01:00
machines smithers: Install k40-whisperer 2023-12-30 03:59:24 +01:00
modules modules: Added suspend-then-hibernate.nix to all laptops 2023-12-12 20:25:50 +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 modules: Added suspend-then-hibernate.nix to all laptops 2023-12-12 20:25:50 +01:00
secrets@3d1c0cdda3 bump secrets 2023-12-13 12:23:25 +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.