Skip to content

justingilpin/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❄️ NixOS dotfiles

My configuration files for NixOS. Feel free to look around and copy! I'm just a learning NixOS user and far from being an expert

Special thanks to:

Info

  • RAM usage on startup:
  • Terminal emulator: alacritty
  • Window manager: Qtile or Hyprland
  • Shell:
  • Editor: neovim
  • Browser: Brave
  • Other: dunst, eww, wofi

Commands to know

  • Connect to wifi (used for minimal NixOS iso)
iwctl --passphrase [passphrase] station [device] connect [SSID]

Installation

Prerequisites:

** IMPORTANT: Don't use the lenovo/hardware-configuration.nix **

Generate your own hardware-configuration or copy from a running NixOS at /etc/nixos

Add preferred programs like git and neovim to the configuration file.

Rebuild and switch the system configuration

Clone the git on the home directory

git clone https://github.com/justingilpin/.dotfiles.git
sudo nixos-generate-config

First, create a hardware configuration for your system:

You can then copy this to a the hosts/ directory (note: change yourComputer with whatever you want):

mkdir hosts/yourComputer
cp /etc/nixos/hardware-configuration.nix ~/.dotfiles/hosts/yourComputer/
sudo nixos-rebuild switch --flake .#yourComputer

Conclusion

And thats about it for my configuration. The code is registered under the MIT license, meaning you are allowed to use or distribute the code as you please.