Configuration files for NixOS + Home Manager.
Find a file
2023-06-12 21:46:41 +08:00
assets update readme 2023-05-07 23:31:22 +08:00
home-manager update unstable neovim 2023-06-05 11:52:44 +08:00
modules nix flake template 2023-04-03 22:41:22 +08:00
nixos migrate nginx to github pages 2023-06-10 10:22:45 +08:00
overlays nix flake template 2023-04-03 22:41:22 +08:00
pkgs remove xmobar-config 2023-05-02 03:11:50 +08:00
.gitignore remove bitwarden container 2023-06-09 23:16:42 +08:00
flake.lock update flake.lock 2023-06-12 21:46:41 +08:00
flake.nix NixOS 23.05 2023-06-03 10:55:42 +08:00
nixpkgs.nix nix flake template 2023-04-03 22:41:22 +08:00
README.md update README.md 2023-06-05 03:46:21 +08:00
shell.nix nix flake template 2023-04-03 22:41:22 +08:00

NixOS & Home-Manager Configuration

nixos-logo

My NixOS and Home-Manager config files. Based upon Misterio77's starter configs.

My other configs:

Development environments:

Alternatively jade provides the plumbing for a desktop environment like experience.
To be used as a simple home-manager import.

This repo is often neglected and doesn't necesarrily follow best practices.
I recommend only using this repo for inspiration and instead use this boilerplate

Installation

# Clone the configuration files and link them into the NixOS directory
git clone https://github.com/sajenim/dotfiles.nix.git
ln -s ~/dotfiles.nix/ /etc/nixos

# We must be in the repo to access the flake
cd /etc/nixos

# Apply the system configuration
sudo nixos-rebuild switch --flake .#hostname

# Apply the user configuration
home-manager switch --flake .#user@hostname

Self hosted services

Services are hosted on a Raspberry Pi 4 Model B with podman containers.
Volume backups are performed with BorgBackup.

Networking:

  • pihole
  • traefik

Media stack:

  • plex
  • sonarr
  • radarr
  • prowlarr
  • recyclarr

Miscellaneous:

  • homepage
  • bitwarden
  • qbittorrent
  • minecraft

FAQ

  • What is nix?
    Nix is a tool that takes a unique approach to package management and system configuration.
  • Nix benefits
    Nix is reproducible, declarative and reliable.
  • Why flakes?
    Flakes allow you to specify your code's dependencies (e.g. remote Git repositories) in a declarative way, simply by listing them inside a flake.nix file.

Credit

Boilerplate

Other Configs