This commit is contained in:
joy 2024-09-14 15:34:06 +02:00
parent af50b49906
commit 38983cee75
6 changed files with 36 additions and 16 deletions

View file

@ -11,5 +11,6 @@
./zsh
./tools
./code
./nemo
];
}

View file

@ -32,5 +32,6 @@
python312Packages.python-lsp-server
omnisharp-roslyn
dotnetCorePackages.dotnet_8.sdk
go
];
}

View file

@ -0,0 +1,19 @@
{pkgs,lib,...}: { environment.systemPackages = [
(let
packagesWithSchemas = [
pkgs.nemo
];
in
pkgs.runCommand "ngsettings" {
nativeBuildInputs = [
pkgs.makeWrapper
];
} ''
mkdir -p "$out/bin"
# Creates ngsettings program (wrapped gsettings)
makeWrapper "${pkgs.glib.bin}/bin/gsettings" "$out/bin/ngsettings" \
--set XDG_DATA_DIRS "${lib.concatMapStringsSep ":" pkgs.glib.getSchemaDataDirPath packagesWithSchemas}"
'')
pkgs.nemo
];
}

View file

@ -1,6 +1,5 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
#hackerman
{pkgs,lib, ...}: {
environment.systemPackages = with pkgs; [
fastfetch
cmatrix
cava
@ -21,7 +20,6 @@
vesktop
signal-desktop
upscayl
nemo
bottles
boxbuddy
waydroid
@ -72,5 +70,6 @@
font-awesome
imagemagick
vscodium
zoxide
];
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 MiB

After

Width:  |  Height:  |  Size: 4 MiB

View file

@ -2,18 +2,18 @@
home-manager.users.joy.programs.home-manager.enable = true;
home-manager.users.joy.xresources.path = ".config/.Xresources";
home-manager.users.joy.gtk.gtk2.configLocation = "/home/joy/.config/gtk-2.0/gtkrc";
home-manager.users.joy.xdg = {
mimeApps = {
enable = true;
defaultApplications = {
"text/plain" = ["hx.desktop"];
"image/*" = ["imv.desktop"];
"video/png" = ["mpv.desktop"];
"video/jpg" = ["mpv.desktop"];
"video/*" = ["mpv.desktop"];
};
};
};
# home-manager.users.joy.xdg = {
# mimeApps = {
# enable = true;
# defaultApplications = {
# "text/plain" = ["hx.desktop"];
# "image/*" = ["imv.desktop"];
# "video/png" = ["mpv.desktop"];
# "video/jpg" = ["mpv.desktop"];
# "video/*" = ["mpv.desktop"];
# };
# };
# };
home-manager.backupFileExtension = "backup";
home-manager.users.joy.home = {