added some debug scripts
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{ pkgs, lib, userSettings, ... }:
|
||||
{ pkgs, lib, userSettings, systemSettings, ... }:
|
||||
let
|
||||
stateVersion = "24.05";
|
||||
unstable = import <nixos-unstable> {};
|
||||
adHome = "/srv/appdaemon";
|
||||
adNixPath = "${adHome}/ad-nix";
|
||||
adPath = "/usr/src/app";
|
||||
@@ -26,10 +25,7 @@ in
|
||||
(pkgs.writeShellScriptBin "nrbs" "sudo nixos-rebuild switch")
|
||||
(pkgs.writeShellScriptBin "nrbsu" "sudo nix-channel --update && sudo nixos-rebuild switch")
|
||||
(pkgs.writeShellScriptBin "nfs" "sudo nixos-rebuild switch --flake ${adNixPath} --impure")
|
||||
(pkgs.writeShellScriptBin "ads" ''
|
||||
cd ${adPath}
|
||||
nix develop --no-pure-eval ${adNixPath}/appdaemon
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "ads" "cd ${adPath} && nix develop --no-pure-eval ${adNixPath}/appdaemon")
|
||||
(pkgs.writeShellScriptBin "ad-clone" ''
|
||||
if [ ! -d ${adPath} ]; then
|
||||
sudo git clone -b ${adBranch} ${adRepo} ${adPath}
|
||||
@@ -38,16 +34,14 @@ in
|
||||
echo "${adPath} already exists"
|
||||
fi
|
||||
'')
|
||||
# unstable.uv
|
||||
bash
|
||||
git
|
||||
eza
|
||||
gh
|
||||
sops
|
||||
# appdaemon
|
||||
];
|
||||
|
||||
time.timeZone = "America/Chicago";
|
||||
time.timeZone = "${systemSettings.timeZone}";
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.oci-containers.backend = "docker";
|
||||
|
||||
Reference in New Issue
Block a user