[home] split desktop.nix out of home.nix

This commit is contained in:
2024-06-23 14:16:15 +08:00
parent d3386006c1
commit eec62add8b
4 changed files with 22 additions and 24 deletions
+1
View File
@@ -79,6 +79,7 @@
nix-index
# Desktop Utils
gnome3.gnome-tweaks
chromium # Web browser
appimage-run
];
+3 -24
View File
@@ -8,6 +8,7 @@
imports = [
(import ./modules/shell.nix)
(import ./modules/desktop.nix)
];
home.packages = with pkgs;[
@@ -15,31 +16,9 @@
strace # system call monitoring
ltrace # library call monitoring
lsof # list open files
# Desktop Utils
gnome3.gnome-tweaks
telegram-desktop
qq
];
# An Apple Music client, only can be downloaded after purchasing
xdg.desktopEntries = {
Cider = {
name = "Cider";
exec = "appimage-run ${config.home.homeDirectory}/app/Cider-2.4.1.AppImage";
terminal = false;
categories = [ "Application" ];
};
};
programs.nix-index = {
enable = true;
enableFishIntegration = true;
};
programs.vscode = {
enable = true;
};
programs.nix-index.enable = true;
programs.vscode.enable = true;
home.stateVersion = "23.11";
+17
View File
@@ -0,0 +1,17 @@
{ pkgs, lib, config, ... }:
{
home.packages = with pkgs; [
telegram-desktop
qq
];
# An Apple Music client, only can be downloaded after purchasing
xdg.desktopEntries = {
Cider = {
name = "Cider";
exec = "appimage-run ${config.home.homeDirectory}/app/Cider-2.4.1.AppImage";
terminal = false;
categories = [ "Application" ];
};
};
}
+1
View File
@@ -18,6 +18,7 @@
neofetch # tool for showing off
];
programs.nix-index.enableFishIntegration = true;
programs.fzf.enableFishIntegration = false; # use fish.fzf keybinding
programs.fish = {
enable = true;