My personal NixOS configuration
Find a file
Evie Litherland-Smith aa21c03b75 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/b70db52ff06f30e3de7f21b6ea47e75baa0c46f6' (2023-07-09)
  → 'github:nix-community/home-manager/2f84579a70b8c74e5ebb37299a0c3ba279f09382' (2023-07-16)
• Updated input 'hyprland':
    'github:hyprwm/Hyprland/0c61a1530f2da2571e8285df106b31af73843411' (2023-07-10)
  → 'github:hyprwm/Hyprland/f4f0f35c5b2725189563fc65e17a0141fd801eb7' (2023-07-19)
• Updated input 'hyprland/wlroots':
    'gitlab:wlroots/wlroots/7e7633abf09b362d0bad9e3fc650fd692369291d' (2023-06-14)
  → 'gitlab:wlroots/wlroots/7791ffe0584c4ac13c170e1661ce33bdbd4a9b9e' (2023-07-17)
• Updated input 'neovim-nightly-overlay':
    'github:nix-community/neovim-nightly-overlay/2e8052b9f56fd2623a55d09e0a7fe06d5f73bbb0' (2023-07-10)
  → 'github:nix-community/neovim-nightly-overlay/f42a9b1db59af2dff882803c38c51be7d5680da2' (2023-07-19)
• Updated input 'neovim-nightly-overlay/hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/c6191e59824febda94b431146bf65628fc534e3b' (2023-07-05)
  → 'github:hercules-ci/hercules-ci-effects/0a63bfa3f00a3775ea3a6722b247880f1ffe91ce' (2023-07-15)
• Updated input 'neovim-nightly-overlay/hercules-ci-effects/flake-parts':
    'github:hercules-ci/flake-parts/71fb97f0d875fd4de4994dfb849f2c75e17eb6c3' (2023-06-01)
  → 'github:hercules-ci/flake-parts/8e8d955c22df93dbe24f19ea04f47a74adbdc5ec' (2023-07-04)
• Updated input 'neovim-nightly-overlay/hercules-ci-effects/flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/4f53efe34b3a8877ac923b9350c874e3dcd5dc0a?dir=lib' (2023-05-31)
  → 'github:NixOS/nixpkgs/4bc72cae107788bf3f24f30db2e2f685c9298dc9?dir=lib' (2023-06-29)
• Updated input 'neovim-nightly-overlay/hercules-ci-effects/hercules-ci-agent':
    'github:hercules-ci/hercules-ci-agent/7192b83935ab292a8e894db590dfd44f976e183b' (2023-06-14)
  → 'github:hercules-ci/hercules-ci-agent/367dd8cd649b57009a6502e878005a1e54ad78c5' (2023-07-05)
• Updated input 'neovim-nightly-overlay/hercules-ci-effects/hercules-ci-agent/flake-parts':
    'github:hercules-ci/flake-parts/71fb97f0d875fd4de4994dfb849f2c75e17eb6c3' (2023-06-01)
  → 'github:hercules-ci/flake-parts/8e8d955c22df93dbe24f19ea04f47a74adbdc5ec' (2023-07-04)
• Updated input 'neovim-nightly-overlay/hercules-ci-effects/hercules-ci-agent/nixpkgs':
    'github:NixOS/nixpkgs/75a5ebf473cd60148ba9aec0d219f72e5cf52519' (2023-06-11)
  → 'github:NixOS/nixpkgs/0fbe93c5a7cac99f90b60bdf5f149383daaa615f' (2023-07-02)
• Updated input 'neovim-nightly-overlay/neovim-flake':
    'github:neovim/neovim/fbeef0d4ef1aadc4e50b9f33946cf4dca8ca6b62?dir=contrib' (2023-07-08)
  → 'github:neovim/neovim/ab5cdbd167353a0c6a0ef0b864d78af13029339c?dir=contrib' (2023-07-18)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/408c0e8c15a1c9cf5c3226931b6f283c9867c484' (2023-07-09)
  → 'github:NixOS/nixpkgs/6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222' (2023-07-16)
2023-07-19 16:19:19 +01:00
auth Add Northstar ssh key to authorized_keys 2023-06-04 09:40:41 +01:00
home Fix hyprland workspace naming 2023-07-19 14:16:19 +01:00
hosts Remove neovide, term TERM for wezterm 2023-07-19 11:40:07 +01:00
services Update nextcloud version 2023-07-16 17:56:45 +01:00
.gitignore Enable nix-direnv integration to cache direnv builds 2023-05-31 11:18:45 +01:00
.pre-commit-config.yaml Re-enable pre-commit using stylua 2023-03-03 11:42:43 +00:00
.stylua.toml Add custom styling to wezterm tab bar, move stylua.toml to top level directory 2023-02-19 12:16:22 +00:00
flake.lock flake.lock: Update 2023-07-19 16:19:19 +01:00
flake.nix Switch to zsh, use specialArgs to pass shell name around to update everywhere at the same time 2023-07-19 08:55:53 +01:00
Makefile Remove neovide, term TERM for wezterm 2023-07-19 11:40:07 +01:00
README.md Add cspell ignored words 2023-05-19 08:57:42 +01:00

Personal NixOS configs

Contains

  • System definitions for various personal and work machines
  • Desktop environment configs
    • Plasma
    • Hyprland
  • Personal server config
  • 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.