started flakes

This commit is contained in:
John Lancaster
2024-12-04 22:03:18 -06:00
parent 809d4ee6c1
commit afbc973248
4 changed files with 105 additions and 12 deletions

View File

@@ -18,10 +18,15 @@ in
./portainer.nix
./watchtower.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [
(pkgs.writeShellScriptBin "nrbs" "sudo nixos-rebuild switch")
(pkgs.writeShellScriptBin "nrbsu" "sudo nix-channel --update && sudo nixos-rebuild switch")
(pkgs.writeShellScriptBin "ads" ''
cd ${adPath}
nix develop
'')
(pkgs.writeShellScriptBin "ad-clone" ''
if [ ! -d ${adPath} ]; then
sudo git clone -b ${adBranch} ${adRepo} ${adPath}
@@ -30,7 +35,7 @@ in
echo "${adPath} already exists"
fi
'')
unstable.uv
# unstable.uv
bash
git
eza