add config from gitlab
This commit is contained in:
commit
e02f7f00f9
842 changed files with 297362 additions and 0 deletions
7
install.sh
Executable file
7
install.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
export NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
cd
|
||||
cp /etc/nixos/hardware-configuration.nix ~/nixos-config/hosts/nixos-home/hardware-configuration.nix
|
||||
cd ~/nixos-config
|
||||
nix-shell -p git --run 'git add hosts/nixos-home/hardware-configuration.nix'
|
||||
nix-shell -p git --run 'sudo nixos-rebuild switch --flake .#nixos-home --option substituters "https://cache.nixos.org https://hyprland.cachix.org" --option trusted-public-keys "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="'
|
||||
Loading…
Add table
Add a link
Reference in a new issue