|
||
---|---|---|
.github/workflows | ||
applications | ||
hosts | ||
packages | ||
.envrc | ||
.gitignore | ||
LICENSE | ||
README.md | ||
flake.lock | ||
flake.nix | ||
renovate.json |
README.md
JesusMtnez's dotfiles!
Installation
This dotfiles are manage using nix
and home-manager
. The steps to do a complete setup are:
- Clone the repository and go inside the folder
nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nixos/nixpkgs#git -- clone git@github.com:JesusMtnez/dotfiles $HOME/.dotfiles
- Build and switch the host machine.
If it is a NixOS host:
nixos-rebuild switch --use-remote-sudo --flakes $HOME/.dotfiles/.
If it is a MacOSX host:
# Use bootstrap flake to setup nix-darwin in you system first
nix build .#darwinConfigurations.bootstrap.system --extra-experimental-features nix-command --extra-experimental-features flakes
./result/sw/bin/darwin-rebuild switch --flake $HOME/.dotfiles/.#bootstrap
# Using nix-darwin, build and switch to your configuration
darwin-rebuild switch --flake $HOME/.dotfiles/.
Machines
-
sirius
: Work machine, based on OSX.darwin-rebuild switch --flake .#sirius
-
albus
: Personal machine, based on NixOS.nixos-rebuild switch --use-remote-sudo --flake .#albus
-
padfoot
: Virtual Machine insidesirius
host, based on NixOS with aarch64-linux architecture.nixos-rebuild switch --use-remote-sudo --flake .#padfoot
Notes
gnome-keyring integration in XFCE
In Settings Manager / Session and Startup / Advanced check Launch GNOME services at startup