Skip to content

mt190502/dotfiles.nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    • 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="24.11"
    curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
    sudo -i nix-channel --add https://nixos.org/channels/nixpkgs-${NIX_VERSION} nixpkgs
    nix-channel --add https://nixos.org/channels/nixpkgs-${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 [email protected]:mt190502/dotfiles.nix
    cd dotfiles.nix
  • Switch this flake

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

Screenshot

image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published