All Projects → Lenivaya → dotfiles

Lenivaya / dotfiles

Licence: other
Dotfiles

Programming Languages

Nix
1067 projects
Org
3 projects
python
139335 projects - #7 most used programming language
haskell
3896 projects
shell
77523 projects
lua
6591 projects

Projects that are alternatives of or similar to dotfiles

dotnix
nix stuff
Stars: ✭ 27 (+8%)
Mutual labels:  nix, nixos, nixos-configuration, nix-flake, nixos-dotfiles
nixdots
I have no idea what the hell I'm doing
Stars: ✭ 46 (+84%)
Mutual labels:  nix, nixos, nixos-configuration, nix-flake
nixos-config
My NixOS configuration
Stars: ✭ 23 (-8%)
Mutual labels:  nix, nixos, xmonad, nixos-configuration
nyx
⚙️Nix[OS] Configuration
Stars: ✭ 50 (+100%)
Mutual labels:  nix, nixos, nixos-configuration, nix-flake
digga
A flake utility library to craft shell-, home-, and hosts- environments.
Stars: ✭ 818 (+3172%)
Mutual labels:  nix, nixos, nixos-configuration, nix-flake
nix-config
A collection of my system configs and dotfiles
Stars: ✭ 35 (+40%)
Mutual labels:  nix, nixos, nix-flake
base16.nix
Quickly theme programs in your favourite base16 colorscheme
Stars: ✭ 61 (+144%)
Mutual labels:  nix, nixos, nix-flake
deadnix
Scan Nix files for dead code
Stars: ✭ 121 (+384%)
Mutual labels:  nix, nixos, nix-flake
dotfiles
Dotfiles for my NixOS system based on Dracula theme
Stars: ✭ 39 (+56%)
Mutual labels:  nix, nixos, doom-emacs
myconfig
my Linux Configuration
Stars: ✭ 23 (-8%)
Mutual labels:  nix, nixos, xmonad
nix-config
NixOS configuration (also on WSL)
Stars: ✭ 51 (+104%)
Mutual labels:  nix, nixos, nixos-configuration
nix-configs
My Nix{OS} configuration files
Stars: ✭ 54 (+116%)
Mutual labels:  nix, nixos, nix-flake
dotfiles
🏠
Stars: ✭ 53 (+112%)
Mutual labels:  nix, nixos, nix-flake
system
The system configuration of a professional yak shaver
Stars: ✭ 42 (+68%)
Mutual labels:  nix, nixos, nix-flake
dconf2nix
🐾 Convert Dconf files (e.g. Gnome Shell) to Nix, as expected by Home Manager
Stars: ✭ 51 (+104%)
Mutual labels:  nix, nixos, nixos-configuration
system
Declarative NixOS system configuration for all my machines
Stars: ✭ 14 (-44%)
Mutual labels:  nix, nixos, nixos-configuration
elemental
Elemental, the component parts of a Nix/OS development system.
Stars: ✭ 44 (+76%)
Mutual labels:  nix, nixos, nixos-configuration
nix-config
My personal nix config
Stars: ✭ 32 (+28%)
Mutual labels:  nix, nixos, nixos-configuration
nixos-installer
Combining the power of Nix, Guile & Elm to install NixOS
Stars: ✭ 14 (-44%)
Mutual labels:  nix, nixos, nixos-configuration
microvm.nix
NixOS MicroVMs
Stars: ✭ 136 (+444%)
Mutual labels:  nix, nixos, nix-flake

NixOS 22.05 Tests

dotfiles

Different dotfiles which i use every day


screenshot


OS: NixOS
WM: XMonad
sh: zsh (with fastest plugin-manager)
font: (Iosevka + IBM Plex) or Pragmata-Pro
browser: google-chrome / Firefox
editor: Emacs
term: st

Quick start

  1. Acquire NixOS 22.05 or newer:

    # Download nixos-unstable
    wget -O nixos.iso https://channels.nixos.org/nixos-unstable/latest-nixos-minimal-x86_64-linux.iso
    
    # Write it to a flash drive
    cp nixos.iso /dev/sdX
  2. Boot into the installer.

  3. Switch to root user: sudo su -

  4. Do your partitions and mount your root to /mnt (for example).

  5. Install these dotfiles:

    nix-shell -p git nixFlakes
    
    # Set HOST to the desired hostname of this system
    HOST=...
    # Set USER to your desired username (defaults to hlissner)
    USER=...
    
    git clone https://github.com/lenivaya/dotfiles /etc/dotfiles
    cd /etc/dotfiles
    
    # Create a host config in `hosts/` and add it to the repo:
    mkdir -p hosts/$HOST
    nixos-generate-config --root /mnt --dir /etc/dotfiles/hosts/$HOST
    rm -f hosts/$HOST/configuration.nix
    cp hosts/t440p/default.nix hosts/$HOST/default.nix
    vim hosts/$HOST/default.nix  # configure this for your system; don't use it verbatim!
    git add hosts/$HOST
    
    # Install nixOS
    USER=$USER nixos-install --root /mnt --impure --flake .#$HOST
    
    # If you get 'unrecognized option: --impure', replace '--impure' with
    # `--option pure-eval no`.
    
    
    # Then move the dotfiles to the mounted drive!
    mv /etc/dotfiles /mnt/etc/dotfiles

⚠️ Don't forget to change your root and $USER passwords! They are set to nixos by default.

Management

Behold. bin/hey.

Usage: hey [global-options] [command] [sub-options]

Available Commands:
  check                  Run 'nix flake check' on your dotfiles
  gc                     Garbage collect & optimize nix store
  generations            Explore, manage, diff across generations
  help [SUBCOMMAND]      Show usage information for this script or a subcommand
  rebuild                Rebuild the current system's flake
  repl                   Open a nix-repl with nixpkgs and dotfiles preloaded
  rollback               Roll back to last generation
  search                 Search nixpkgs for a package
  show                   [ARGS...]
  ssh HOST [COMMAND]     Run a bin/hey command on a remote NixOS system
  swap PATH [PATH...]    Recursively swap nix-store symlinks with copies (or back).
  test                   Quickly rebuild, for quick iteration
  theme THEME_NAME       Quickly swap to another theme module
  update [INPUT...]      Update specific flakes or all of them
  upgrade                Update all flakes and rebuild system

Options:
    -d, --dryrun                     Don't change anything; preform dry run
    -D, --debug                      Show trace on nix errors
    -f, --flake URI                  Change target flake to URI
    -h, --help                       Display this help, or help for a specific command
    -i, -A, -q, -e, -p               Forward to nix-env
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].