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 ./zsh
./tools ./tools
./code ./code
./nemo
]; ];
} }

View file

@ -32,5 +32,6 @@
python312Packages.python-lsp-server python312Packages.python-lsp-server
omnisharp-roslyn omnisharp-roslyn
dotnetCorePackages.dotnet_8.sdk 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, ...}: { {pkgs,lib, ...}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
#hackerman
fastfetch fastfetch
cmatrix cmatrix
cava cava
@ -21,7 +20,6 @@
vesktop vesktop
signal-desktop signal-desktop
upscayl upscayl
nemo
bottles bottles
boxbuddy boxbuddy
waydroid waydroid
@ -72,5 +70,6 @@
font-awesome font-awesome
imagemagick imagemagick
vscodium 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.programs.home-manager.enable = true;
home-manager.users.joy.xresources.path = ".config/.Xresources"; 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.gtk.gtk2.configLocation = "/home/joy/.config/gtk-2.0/gtkrc";
home-manager.users.joy.xdg = { # home-manager.users.joy.xdg = {
mimeApps = { # mimeApps = {
enable = true; # enable = true;
defaultApplications = { # defaultApplications = {
"text/plain" = ["hx.desktop"]; # "text/plain" = ["hx.desktop"];
"image/*" = ["imv.desktop"]; # "image/*" = ["imv.desktop"];
"video/png" = ["mpv.desktop"]; # "video/png" = ["mpv.desktop"];
"video/jpg" = ["mpv.desktop"]; # "video/jpg" = ["mpv.desktop"];
"video/*" = ["mpv.desktop"]; # "video/*" = ["mpv.desktop"];
}; # };
}; # };
}; # };
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
home-manager.users.joy.home = { home-manager.users.joy.home = {