i think you should listen to by storm's album my ghost's go ghost.
nix: Nix(OS) configuration files. almost the whole shebang.
fst: first layer: core tools. right now this is: neovim, and git, of which the former has been subsumed by codeberg:handdara/nix-vimrc, and the latter is quite barebones, to say the least.
basically, what i'm trying to say is moving to nix destroyed any need for this folder's old contents.
i should probably just remove it or merge it with snd but i left it on a whim and now i don't feel like changing that.
git: git confighim: neovim configs, all of these are older versions who've been subsumed by codeberg:handdara/nix-vimrc.
snd: secondary layer: tools that don't fit into core.1
awesomewm: my window manager, i like it. don't love it. mostly because of the documentation, and for another reason whose precise definition eludes me tbh: not using this at the moment, instead i've been using github:pimutils/khal.2calcurseish: an ios app3 that provides a linux like environment based on alpine (or maybe evenkmonad: an amazing keyboard remapping utility! also, it's written in haskell :)xmonad: slowly building up a config by messing around with it every now and then
section needs updating, will get to it soon.
- install NixOS
- enable flakes and set hostname
- add
nix.settings.experimental-features = [ "nix-command" "flakes" ];to/etc/nixos/configuration.nixand change the hostname on the linenetworking.hostName = "<HOSTNAME-GOES-HERE>"; # Define your hostname. - save and rebuild with
sudo nixos-rebuild switch. then reboot
- add
- installing home manager
- add home manager channel by running
nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-managerand thennix-channel --update(might need to change out the home-manager release from 24.05 to unstable or whichever channel is being used) - reboot
- run
nix-shell '<home-manager>' -A installto install home manager standalone
- add home manager channel by running
- personally I like to drop into a shell with some of my favorite utilities to do the rest
nix-shell -p neovim fish zoxide fzf eza git just --run "fish" git clonethis repo- make a new folder
dotfiles/hix/machines/<HOSTNAME-GOES-HERE>/in this repo and copy/etc/nixos/hardware-configuration.nixinto it - make a new file
dotfiles/hix/machines/<HOSTNAME-GOES-HERE>/bootloader.nixand copy the bootloader code from/etc/nixos/configuration.nixinto it- here's an example
# bootloader.nix content: { config, pkgs, ... }: { boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/nvme0n1"; boot.loader.grub.useOSProber = true; }
- here's an example
- edit the
sysSettings.hostnameindotfiles/hix/flake.nix:sysSettings = { system = "x86_64-linux"; hostname = "<HOSTNAME-GOES-HERE>"; # ... more code ... };
- run
just purge && just switch