My NixOS configuration
Find a file
2024-04-04 21:23:03 +02:00
home-manager home/kanshi: Update config for smithers 2024-04-04 21:23:03 +02:00
machines cray: Update vpn config 2024-02-03 22:47:11 +01:00
modules borgbackup: Prune old backups 2024-04-03 15:20:15 +02:00
nix niv: Update to 23.11 2023-12-01 16:59:53 +01:00
overlay@8394729396 bump overlays 2024-03-27 22:32:49 +01:00
roles roles/all: Enable experimalten nix-command and flakes 2024-04-04 21:23:03 +02:00
secrets@b807b22602 bump overlays 2024-03-27 22:32:49 +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.