summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2021-06-14 17:55:29 +0200
committerTom Barrett <tom@tombarrett.xyz>2021-06-14 17:55:29 +0200
commit059081865afab59142364fc6c78af29304702a98 (patch)
treee7f182b1baac76e01868d5e0e2d5836923750809 /config
starting outHEADmaster
Diffstat (limited to 'config')
-rw-r--r--config/config.nix10
-rw-r--r--config/nixos-config8
2 files changed, 18 insertions, 0 deletions
diff --git a/config/config.nix b/config/config.nix
new file mode 100644
index 0000000..498a806
--- /dev/null
+++ b/config/config.nix
@@ -0,0 +1,10 @@
+{
+packageOverrides = pkgs: with pkgs; {
+ myPackages = pkgs.buildEnv {
+ name = "my-packages";
+ paths = [
+ bc
+ ];
+ };
+};
+}
diff --git a/config/nixos-config b/config/nixos-config
new file mode 100644
index 0000000..135240d
--- /dev/null
+++ b/config/nixos-config
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }: {
+ services.sshd.enable = true;
+ services.nginx = {
+ enable = true;
+ user = "user";
+ group = "user";
+ };
+}