Evie Litherland-Smith
e0c67fde29
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/2f84579a70b8c74e5ebb37299a0c3ba279f09382' (2023-07-16) → 'github:nix-community/home-manager/a30f5b5b35e2d974fb5e1a3721eaec723ef48c89' (2023-07-24) • Updated input 'hyprland': 'github:hyprwm/Hyprland/f4f0f35c5b2725189563fc65e17a0141fd801eb7' (2023-07-19) → 'github:hyprwm/Hyprland/6db3c4ef5ec21f415577a26b0cdf57c98a778eb5' (2023-07-24) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222' (2023-07-16) → 'github:NixOS/nixpkgs/12303c652b881435065a98729eb7278313041e49' (2023-07-22) |
||
---|---|---|
auth | ||
home | ||
hosts | ||
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.