8000 GitHub - hmajid2301/nixicle: My dotfiles always changing ๐Ÿ™ˆ ยท GitHub
[go: up one dir, main page]

Skip to content
hmajid2301Public

About

My dotfiles always changing ๐Ÿ™ˆ

Topics

Resources

Stars

115 stars

Watchers

2 watching

Forks

Latest commit

ย 

History

1,182 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation


Nixicle

โš ๏ธ This config repo is constantly changing, Let me know if you see something that can be improved or done better ๐Ÿ˜„ .

๐Ÿ’ฝ Usage

Install

To install NixOS on any of my devices I now use nixos-anywhere. You will need to be able to SSH to the target machine from where this command will be run. Load nix installer ISO if no OS on the device. You need to copy ssh keys onto the target machine mkdir -p ~/.ssh && curl https://github.com/hmajid2301.keys > ~/.ssh/authorized_keys in my case I can copy them from GitHub.

git clone git@github.com:hmajid2301/nixicle.git ~/nixicle/
cd nixcile

nix develop

nixos-anywhere --flake '.#desktop' nixos@192.168.1.8 # Replace with your IP

After building it you can copy the ISO from the result folder to your USB.

Building

To build my config for a specific host you can do something like:

git clone git@github.com:hmajid2301/nixicle.git ~/nixicle/
cd nixicle

nix develop

# To build system configuration (uses hostname to build flake)
nh os switch

# To build user configuration (uses hostname and username to build flake)
nh home switch

# Build ISO in result/ folder
nix build .#iso-graphical

# Deploy my to remote server i.e. Home Lab (using SSH)
deploy .#vps --hostname vps --ssh-user nixos --skip-checks

# Build Home Lab diagram using nix-topology
nix build .#topology.config.output

๐Ÿš€ Features

Some features of my config:

  • Structured to allow multiple NixOS configurations, including desktop, laptop and homelab
  • Custom live ISO for installing NixOS
  • Styling with stylix
  • Opt-in persistance through impermanence + blank snapshot
  • Encrypted BTRFS partition
  • Secure Boot with lanzaboote
  • sops-nix for secrets management
  • Different environments like niri and gnome
  • Custom Neovim setup declaratively using nix-wrapper-modules
  • Homelab all configured in nix.

๐Ÿ–ผ๏ธ Showcase

Desktop

terminal notifications wallpaper monkeytype

Neovim

Telescope Editor Go Code CMP

Appendix

Inspired By

About

My dotfiles always changing ๐Ÿ™ˆ

Topics

Resources

Stars

115 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0