From 164ed126f3c5bb39bdeea38434f40e978c095976 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Thu, 12 Sep 2024 01:54:20 +0000 Subject: [PATCH] initial bootstrap commit --- configuration.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 configuration.nix diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..c890329 --- /dev/null +++ b/configuration.nix @@ -0,0 +1,23 @@ +{ pkgs, modulesPath, ... }: + +{ + imports = [ + (modulesPath + "/virtualisation/proxmox-lxc.nix") + (import "${builtins.fetchTarball https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz}/nixos") + ]; + + environment.systemPackages = with pkgs; [ + bash + wget + git + eza + ]; + + virtualisation.docker.enable = true; + + users.users.appdaemon = { + isNormalUser = true; + home = "/srv/appdaemon"; + extraGroups = ["docker"]; + }; +}