Skip to content

frofor/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

162 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-config

NixOS configuration with Home Manager.

Installation

NixOS

nix shell nixpkgs#git
git clone https://codeberg.org/frofor/nix-config.git ~/.local/src/nix-config
cd ~/.local/src/nix-config
cp /etc/nixos/hardware-configuration.nix "host/$(hostname)/hardware.nix"
git add "host/$(hostname)/hardware.nix"
sudo nixos-rebuild --flake . switch

Home Manager

nix shell nixpkgs#git
git clone https://codeberg.org/frofor/nix-config.git ~/.local/src/nix-config
cd ~/.local/src/nix-config
nix profile add nixpkgs#home-manager
home-manager --flake .#"$(hostname)" switch

Updating

NixOS

git pull
doas nixos-rebuild --flake . switch

Home Manager

git pull
home-manager --flake .#"$(hostname)" switch

License

See COPYING.

About

NixOS configuration with Home Manager

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages