Evie Litherland-Smith
27d89678de
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/ba2c0737cc848db03470828fdb5e86df75ed42a8' (2023-07-25) → 'github:nix-community/home-manager/903e06d734bcae48efb79b9afd51b406d2744179' (2023-08-06) • Updated input 'hyprland': 'github:hyprwm/Hyprland/2ea7d10d049e26c9829912da1d16f7f35f5b265d' (2023-07-27) → 'github:hyprwm/Hyprland/cebab759d52747c2067217d93096b47281722e57' (2023-08-07) • Updated input 'hyprland/wlroots': 'gitlab:wlroots/wlroots/e8d545a9770a2473db32e0a0bfa757b05d2af4f3' (2023-07-24) → 'gitlab:wlroots/wlroots/c74f89d4f84bfed0284d3908aee5d207698c70c5' (2023-08-03) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/ef99fa5c5ed624460217c31ac4271cfb5cb2502c' (2023-07-25) → 'github:NixOS/nixpkgs/5a8e9243812ba528000995b294292d3b5e120947' (2023-08-07) |
||
---|---|---|
auth | ||
home | ||
hosts | ||
pkgs/sddm-catppuccin-macchiato | ||
services | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.stylua.toml | ||
flake.lock | ||
flake.nix | ||
Makefile | ||
README.md |
Personal NixOS configs
Contains
- System definitions for various personal and work machines
- Desktop environment configs
- Plasma
- Hyprland
- Personal server config
- Base domain # TODO
- Gitea
- AdGuardHome
- ~Nextcloud~
- Personal home environment definitions
Installation
Makefile
handles most things. Running make
will determine if this is a NixOS or Nix home-manager only install. make nixos
and make home
execute either explicitly.
NixOS
Clone repo into /etc/nixos/config
, make nixos
will do this for you otherwise. Edit your /etc/nixos/configuration.nix
to import top level expression, e.g.:
{ config, pkgs, ... }: {
imports =
[
# Other imports (e.g. ./hardware-configuration.nix)
./config/hostname.nix
];
# Rest of your configuration.nix goes here
}
Nix home-manager
Must have nix
installed to proceed
Clone repo and run make
or make home
, a machine and user specific home-manager config will be created if it doesn't already exist, and then linked to $XDG_CONFIG_HOME/home-manager/
. Execute:
nix-shell -p home-manager -- run "home-manager switch -b backup"
to install configuration. Home-manager will self-manager after this.