Skip to content

fsequeira1/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-config

Apply system configuration

sudo nixos-rebuild switch --flake .#$(hostname)

or

sudo nixos-rebuild switch --flake .#bumblebee

Apply your home configuration

home-manager switch --flake .#$(whoami)@$(hostname)

or

home-manager switch --flake .#fsequeira@bumblebee

# on first run might need to add git to the packages on /etc/nixos/configuration.nix
# and then the commands bellow, after that you can use home-
nix-shell -p git
nix build .#[email protected] && ./result/activate

Update flake.lock

nix flake update

Or replace only the specific input, such as home-manager:

nix flake lock --update-input home-manager

debug config

sudo nixos-rebuild switch --flake .#bumblebee --show-trace -L

No such file or directory (when restructuring flake)

sudo nix-store --repair --verify --check-contents

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages