Skip to content
handdaraPublic

About

my dotfiles, currently using nixos, home-manager, neovim, ghostty, tmux, and bash as my core dev environment, oh and my current window mgr is AwesomeWM.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

712 Commits

Folders and files

Repository files navigation

handdara's dotfiles

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.

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
  • calcurse: not using this at the moment, instead i've been using github:pimutils/khal.2
  • ish: an ios app3 that provides a linux like environment based on alpine (or maybe even
  • kmonad: 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

usage

section needs updating, will get to it soon.

  1. install NixOS
  2. enable flakes and set hostname
    1. add nix.settings.experimental-features = [ "nix-command" "flakes" ]; to /etc/nixos/configuration.nix and change the hostname on the line networking.hostName = "<HOSTNAME-GOES-HERE>"; # Define your hostname.
    2. save and rebuild with sudo nixos-rebuild switch. then reboot
  3. installing home manager
    1. add home manager channel by running nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager and then nix-channel --update (might need to change out the home-manager release from 24.05 to unstable or whichever channel is being used)
    2. reboot
    3. run nix-shell '<home-manager>' -A install to install home manager standalone
  4. 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"
  5. git clone this repo
  6. make a new folder dotfiles/hix/machines/<HOSTNAME-GOES-HERE>/ in this repo and copy /etc/nixos/hardware-configuration.nix into it
  7. make a new file dotfiles/hix/machines/<HOSTNAME-GOES-HERE>/bootloader.nix and copy the bootloader code from /etc/nixos/configuration.nix into 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;
      }
  8. edit the sysSettings.hostname in dotfiles/hix/flake.nix:
    sysSettings = {
        system = "x86_64-linux";
        hostname = "<HOSTNAME-GOES-HERE>";
        # ... more code ...
    };
  9. run just purge && just switch

Footnotes

  1. now this basically just means i didn't feel like putting their dotfiles into a nix string. ↩

  2. i like and would recommend both. ↩

  3. yea yea i know, iphones: gross. the iSH project is pretty cool though and i've enjoyed my experience with it. ↩

About

my dotfiles, currently using nixos, home-manager, neovim, ghostty, tmux, and bash as my core dev environment, oh and my current window mgr is AwesomeWM.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages