[feat] Move some stuff around
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
./nvim.nix
|
||||
./goread.nix
|
||||
./ncmpcpp.nix
|
||||
# ./neomutt.nix
|
||||
] ++ lib.optionals device.isLinux [ ../linux ];
|
||||
|
||||
home.packages = with pkgs;
|
||||
@@ -53,6 +54,8 @@
|
||||
] ++ lib.optionals device.isLinux [
|
||||
mpv
|
||||
psst
|
||||
catppuccinThemes.gtk
|
||||
catppuccinThemes.papirus-folders
|
||||
gnome.seahorse
|
||||
gnome.nautilus
|
||||
nextcloud-client
|
||||
@@ -63,16 +66,6 @@
|
||||
dig
|
||||
mullvad
|
||||
steam-run
|
||||
(pkgs.catppuccin-gtk.override {
|
||||
variant = "mocha";
|
||||
size = "standard";
|
||||
accents = [ "mauve" ];
|
||||
tweaks = [ "normal" ];
|
||||
})
|
||||
(pkgs.catppuccin-papirus-folders.override {
|
||||
accent = "mauve";
|
||||
flavor = "mocha";
|
||||
})
|
||||
usbutils
|
||||
handlr-regex
|
||||
handlr-xdg
|
||||
@@ -173,7 +166,8 @@
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
enableNushellIntegration = true;
|
||||
settings = let flavour = "mocha"; # Replace with your preferred palette
|
||||
settings =
|
||||
let flavour = "mocha"; # Replace with your preferred palette
|
||||
in {
|
||||
# Check https://starship.rs/config/#prompt
|
||||
format = "$all$character";
|
||||
@@ -251,7 +245,8 @@
|
||||
|
||||
home = {
|
||||
username = device.user;
|
||||
homeDirectory = if device.isMac then
|
||||
homeDirectory =
|
||||
if device.isMac then
|
||||
lib.mkForce "/Users/${device.user}"
|
||||
else
|
||||
lib.mkForce "/home/${device.user}";
|
||||
|
||||
9
common/neomutt.nix
Normal file
9
common/neomutt.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }: {
|
||||
programs.neomutt = {
|
||||
enable = true;
|
||||
vimKeys = true;
|
||||
editor = "nvim";
|
||||
# sidebar = {
|
||||
# };
|
||||
};
|
||||
}
|
||||
@@ -74,6 +74,12 @@ let
|
||||
src = picat-src;
|
||||
cargoLock = { lockFile = "${picat-src}/Cargo.lock"; };
|
||||
};
|
||||
|
||||
psst = (prev.psst.overrideAttrs (final: prev: {
|
||||
postInstall = (prev.postInstall or "") + ''
|
||||
patch $out/share/applications/Psst.desktop < ${./patches/psst.patch}
|
||||
'';
|
||||
}));
|
||||
};
|
||||
|
||||
anyrun-overlay = final: prev: {
|
||||
|
||||
13
patches/psst.patch
Normal file
13
patches/psst.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/Psst.desktop b/Psst.desktop
|
||||
index 267da3c..258dba2 100644
|
||||
--- a/Psst.desktop
|
||||
+++ b/Psst.desktop
|
||||
@@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Categories=Audio;AudioVideo
|
||||
Comment=Fast and multi-platform Spotify client with native GUI
|
||||
-Exec=psst-gui
|
||||
+Exec=env WAYLAND_DISPLAY= psst-gui
|
||||
Icon=psst
|
||||
Name=Psst
|
||||
StartupWMClass=psst-gui
|
||||
@@ -59,4 +59,16 @@ in
|
||||
rev = "main";
|
||||
sha256 = "sha256-czvR3bVZ0NfBmuu0JixalS7B1vf1uEGSTSUVVTclKxI";
|
||||
};
|
||||
|
||||
gtk = (pkgs.catppuccin-gtk.override {
|
||||
variant = "mocha";
|
||||
size = "standard";
|
||||
accents = [ "mauve" ];
|
||||
tweaks = [ "normal" ];
|
||||
});
|
||||
|
||||
papirus-folders = (pkgs.catppuccin-papirus-folders.override {
|
||||
accent = "mauve";
|
||||
flavor = "mocha";
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user