Add basic theme config

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-23 14:50:50 +03:00
parent 48f391e3ad
commit e7d328cab5
23 changed files with 554 additions and 188 deletions

View File

@@ -1,5 +1,3 @@
set -e
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run as root or with sudo privileges."
exit 1

View File

@@ -1,5 +1,16 @@
{ pkgs, ... }:
{
environment.systemPackages = [ (pkgs.writeShellScriptBin "nix-cleanup" (builtins.readFile ./cleanup.sh)) ];
environment.systemPackages = [
(pkgs.writeShellApplication {
name = "nix-cleanup";
runtimeInputs = with pkgs; [
coreutils-full
btrfs-progs
util-linux
nix
];
text = builtins.readFile ./cleanup.sh;
})
];
}