Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

817 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hosts

  • Centuria (Desktop): Ryzen 7 5700X | 32GB RAM DDR4 | 512GB NVME - XFS | (Desktop) Discrete GPU, RTX 3060 12GB GDDR6
  • Moontier (Server): i3 6100 | 8GB DDR4 | 6TB HDD + 1TB HDD - XFS
  • Arthoplerau (Laptop) Ryzen AI 350 | 2*8 DDR5 | 512GB + 1TB NVME | TMPFS BTRFS | Lenovo Ideapad 5 Slim

Features?

--> This configuration follows the feature style of configuration, which:

Flake <-- Creates hosts receving their hardwares/defaults.nix from /Hosts/ \

Features <-- Contains a default.nix which create imports from dir inside of it; The feature follow this structure:

Feature/Feature/default.nix Which default.nix is a entry point for whatever the feature needs.

What happens after is it create an option which can be enabled by a Host, per example:

  options.features.neovim.enable = lib.mkOption {
    type = lib.types.bool;
    description = "Neovim Configuration";
    default = true;
  };

Disko Installation

For hosts with features.disko.enable = true:

# From NixOS live ISO, clone the flake:

mkdir nixos;

git clone https://github.com/rPlakama/Elisheva.git ./nixos

# Partition the disk according to the host's disko config:

sudo nix --extra-experimental-features "nix-command flakes" \
  run 'github:nix-community/disko/latest#disko-install' -- \
  --flake .#<host> \
  --disk main /dev/nvme1n1 \
  --disk secondary /dev/nvme0n1 #

nixos-install --flake .#<hostname>

About

My NixOS configuration

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages