From 646d3e383b7fdd318db53785657ba18e901c8e12 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 27 Aug 2023 03:32:02 +0200 Subject: [PATCH] yahahaha --- hosts/bolle/default.nix | 3 +-- hosts/noximilien/default.nix | 1 + profiles/web/sites/kuklefse.nix | 13 +++++++++++++ users/daniel/default.nix | 3 +++ 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 profiles/web/sites/kuklefse.nix diff --git a/hosts/bolle/default.nix b/hosts/bolle/default.nix index 4265b29..78e3b49 100644 --- a/hosts/bolle/default.nix +++ b/hosts/bolle/default.nix @@ -7,7 +7,6 @@ imports = [ ./hardware-configuration.nix - ../../hardware/gpu/intel.nix ../../profiles/auto-upgrade.nix ../../profiles/upgrade-diff.nix ../../profiles/sshd.nix @@ -75,5 +74,5 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "22.11"; # Did you read the comment? + system.stateVersion = "23.05"; # Did you read the comment? } diff --git a/hosts/noximilien/default.nix b/hosts/noximilien/default.nix index a44c42e..f17b75f 100644 --- a/hosts/noximilien/default.nix +++ b/hosts/noximilien/default.nix @@ -76,6 +76,7 @@ ../../profiles/web/sites/linktree-pbsds.nix ../../profiles/web/sites/refleksjon-no.nix ../../profiles/web/sites/roroslyd-no.nix + ../../profiles/web/sites/kuklefse.nix #../../profiles/web/services/trivial-gradios diff --git a/profiles/web/sites/kuklefse.nix b/profiles/web/sites/kuklefse.nix new file mode 100644 index 0000000..ffd1a20 --- /dev/null +++ b/profiles/web/sites/kuklefse.nix @@ -0,0 +1,13 @@ +{ config, pkgs, lib, mkDomain, ... }: +{ + services.nginx.virtualHosts.${"kuklef.se"} = { + forceSSL = true; # addSSL = true; + enableACME = true; #useACMEHost = acmeDomain; + root = pkgs.writeTextDir "index.html" '' + 🍆🌮 + ''; + locations."/".extraConfig = '' + add_header 'Content-Type' 'text/plain; charset=utf-8'; + ''; + }; +} diff --git a/users/daniel/default.nix b/users/daniel/default.nix index 4fcfd85..4da61d6 100644 --- a/users/daniel/default.nix +++ b/users/daniel/default.nix @@ -8,6 +8,9 @@ description = "daniel"; extraGroups = [ "networkmanager" "wheel" ]; # TODO: NAS stuff shell = pkgs.zsh; + packages = with pkgs; [ + kitty.terminfo + ]; openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCp8iMOx3eTiG5AmDh2KjKcigf7xdRKn9M7iZQ4RqP0np0UN2NUbu+VAMJmkWFyi3JpxmLuhszU0F1xY+3qM3ARduy1cs89B/bBE85xlOeYhcYVmpcgPR5xduS+TuHTBzFAgp+IU7/lgxdjcJ3PH4K0ruGRcX1xrytmk/vdY8IeSk3GVWDRrRbH6brO4cCCFjX0zJ7G6hBQueTPQoOy3jrUvgpRkzZY4ZCuljXtxbuX5X/2qWAkp8ca0iTQ5FzNA5JUyj+DWeEzjIEz6GrckOdV2LjWpT9+CtOqoPZOUudE1J9mJk4snNlMQjE06It7Kr50bpwoPqnxjo7ZjlHFLezl"