My NixOS configurations + Home Manager configurations...

Abdullah Khabir 3b7694cfbb scrtchapd keybindings пре 2 година
dots 3b7694cfbb scrtchapd keybindings пре 2 година
nixos 3b6d03a098 sway compositor пре 2 година
secrets @ d85aab59eb ae52be2a58 adding more secrets пре 2 година
.envrc 7971098134 adding some packages for river пре 2 година
.gitignore 83efbcf330 removing dots/bin from .gitignore пре 2 година
.gitmodules 5f6e13a9f1 adding mail stuff пре 2 година
LICENSE 2068275c62 adding my home.nix пре 2 година
README.md 64cc34f8bd updated readme.md пре 2 година
flake.lock 61c2dec172 soft buttons пре 2 година
flake.nix c039623232 removing unused inputs пре 2 година
home.nix 440fe174f8 adding home.nix reference пре 2 година

README.md

river-session

x1c running NixOS

asciicast

NixOS dotfiles with Home-Manager

Installation

  • After partitioning, formatting and mounting the filesystems, run:

    # Just to be sure, that /etc/nixos is created...
    nixos-generate-config --root /mnt
    
  • Clone this repository, edit nixos/configuration.nix and nixos/hardware-configuration.nix... Replace UUID with hardware new UUIDs, push changes. If you're not me, you can't push changes. So just use that clone after editing those files:

    cd cloned_repo_path
    nixos-install --impure --flake .#x1c
    

    x1c is my hostname. So if you want to change it, don't forget to replace it three places:

    • 1 in nixos/configuration.nix
    • 2 in flake.nix
    • 3 when invoking nixos-install
  • After installation, install home-manager and then give it this flake to copy dotfiles.

    nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz
    nix-channel --update
    nix-shell '<home-manager>' -A install
    home-manager switch --flake github:Awan/nix#ak