Skip to content

uesyn/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

my dotfiles

How to use

Standalone home-manager

# Install nix
$ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm

# Create config to use flake
$ mkdir -p ~/.config/nix
$ echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf

# Add nix-community cache
$ nix run nixpkgs#cachix -- use nix-community
$ nix-shell -p git curl home-manager
$ git clone https://github.com/uesyn/dotfiles.git
$ cd ./dotfiles
$ home-manager switch --flake . --impure -b backup --refresh

NixOS on WSL2

After Installation of NixOS on WSL2, run below commands.

$ nix-shell -p git curl
$ git clone https://github.com/uesyn/dotfiles
$ cd ./dotfiles
$ sudo nixos-rebuild switch --flake .#wsl2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published