Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.64 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.64 KB

mt190502's dots

This dotfiles is made for my personal use. I use it with Nix Package Manager, so you can use it with NixOS or Nix installed on your system.

Installation

  • First, set up some packages on your system (I'm using Fedora, so you can use this command to install them)

    sudo dnf install -y git curl swaylock xfce-polkit
    • We need to install Swaylock using the distribution's own package manager. Because the home-manager is not compatible with pam-locking. If you use another distribution, you can install it with your package manager.
  • Set up Nix Package Manager on your system (if you haven't already or you don't have NixOS installed)

    NIX_VERSION="unstable"
    curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
    sudo -i nix-channel --add https://nixos.org/channels/nixos-${NIX_VERSION} nixpkgs
    nix-channel --add https://nixos.org/channels/nixos-${NIX_VERSION} nixpkgs
    nix-channel --update
  • Enable flake support in Nix

    echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
  • Set up home-manager from this source

  • Clone this repository

    git clone git@github.com:mt190502/dotfiles.nix     # With SSH
    git clone https://github.com/mt190502/dotfiles.nix # With HTTPS
    cd dotfiles.nix
  • Switch this flake

    home-manager switch --no-out-link --flake .#fedora
  • Enjoy!

Screenshot

image