From 77244a2a6fbbeee6d1a90ce018a6079bbd685b81 Mon Sep 17 00:00:00 2001 From: Luka Dekanozishvili Date: Sat, 31 Jan 2026 14:33:54 +0100 Subject: [PATCH] chore: cleaned up system-wide pkgs --- configuration.nix | 7 ------- pkgs/backend.nix | 2 ++ scripts/deploy-frontend.sh | 3 ++- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/configuration.nix b/configuration.nix index e81fcb2..5ba0385 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,11 +7,6 @@ networking.hostName = "hexname-ns1"; - environment.systemPackages = with pkgs; [ - hexname-backend - deno - ]; - users.users = { luka = { isNormalUser = true; @@ -36,8 +31,6 @@ }; }; - nix.settings.trusted-users = [ "luka" ]; # TODO: remove this line - boot.loader.grub = { enable = true; efiSupport = true; diff --git a/pkgs/backend.nix b/pkgs/backend.nix index be74148..27d28f6 100644 --- a/pkgs/backend.nix +++ b/pkgs/backend.nix @@ -7,6 +7,8 @@ }) ]; + environment.systemPackages = with pkgs; [ hexname-backend ]; + users.groups.hexname = {}; users.users = { hexname-backend = { diff --git a/scripts/deploy-frontend.sh b/scripts/deploy-frontend.sh index ca3c2e7..7591a42 100755 --- a/scripts/deploy-frontend.sh +++ b/scripts/deploy-frontend.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env bash +#!/usr/bin/env nix +#!nix shell nixpkgs#bash nixpkgs#deno --command bash set -euo pipefail cd /home/luka/HexName-Frontend