Skip to content

RAPSNX/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS Hyprland Home Manager Alacritty Neovim Love

This is my ever-evolving dotfiles repository, used to manage my desktop workstation, a MacBook Pro, and any Linux devbox capable of running Nix. This repository is constantly improved or changed in some way. It follows a structure to keep related configurations together, but not too much to reduce complexity.

🚀 Usage

Bootstrap

# On fresh systems
nix develop

# Dedicated devshell targets
switch-zion
switch-firefly
🔽 Details
# nh switch (hostname autodetection)
nh os switch .
nh home switch .

# nh switch with custom hostname
nh os build --hostname kubex .
nh home switch -c nix@firefly .

# nix build installer iso
nix build .#nixosConfigurations.vinox.config.system.build.isoImage

# nh remote switch
nh os switch --hostname kubex . -d always --target-host kubex
nh os switch --hostname nixberry . -d always --target-host <IP>

# nix remote switch
nixos-rebuild switch --flake .#kubex --target-host 192.168.55.10 --sudo

# enable experimental-features
export NIX_CONFIG="experimental-features = nix-command flakes"
# OR
--extra-experimental-features "nix-command flakes"
💽 Disko

Disko is used to provision disks, it creates automatically the filsystems configuration.

# Run disko from an installer
sudo nix run github:nix-community/disko --no-write-lock-file -- --mode zap_create_mount ./hosts/zion/disko.nix

# After this nixos can be installed
sudo nixos-install --flake .#zion

📖 Docs

Licenses

The NixOS logo used in this repository is based on the original design available at NixOS Artwork Repository.
The original NixOS logo is licensed under the Creative Commons Attribution-Share Alike 4.0 International License (CC BY-SA 4.0).
This version of the logo has been modified, including changes to the colors, for use in this project.

As required by the CC BY-SA 4.0 license:

  • Proper attribution must be given for the original logo design.
  • Any further use, modification, or distribution of this logo (including the modified version) must comply with the terms of the CC BY-SA 4.0 license, including sharing derivative works under the same license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors