This commit is contained in:
John Lancaster
2024-09-13 23:46:51 +00:00
parent 0f8c612473
commit 7fbeb2513f

View File

@@ -1,6 +1,7 @@
{ pkgs, modulesPath, ... }: { pkgs, modulesPath, ... }:
let let
stateVersion = "24.05"; stateVersion = "24.05";
unstable = import <nixos-unstable> {};
in in
{ {
imports = [ imports = [
@@ -13,13 +14,13 @@ in
(pkgs.writeShellScriptBin "nrbs" '' (pkgs.writeShellScriptBin "nrbs" ''
sudo nixos-rebuild switch sudo nixos-rebuild switch
'') '')
(pkgs.writeShellScriptBin "nrbsu" ''
sudo nix-channel --update && sudo nixos-rebuild switch
'')
bash bash
# wget
git git
eza eza
# python312 # appdaemon
# uv
appdaemon
]; ];
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
@@ -45,11 +46,11 @@ in
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
users.appdaemon = { pkgs, ... }: { users.appdaemon = { pkgs, ... }: {
home.packages = [ pkgs.uv ];
home.stateVersion = stateVersion; home.stateVersion = stateVersion;
programs.ssh = { programs.ssh.enable = true;
enable = true; home.packages = [
}; unstable.uv
];
}; };
}; };
system.stateVersion = stateVersion; system.stateVersion = stateVersion;