[home] split desktop.nix out of home.nix
This commit is contained in:
@@ -79,6 +79,7 @@
|
|||||||
nix-index
|
nix-index
|
||||||
|
|
||||||
# Desktop Utils
|
# Desktop Utils
|
||||||
|
gnome3.gnome-tweaks
|
||||||
chromium # Web browser
|
chromium # Web browser
|
||||||
appimage-run
|
appimage-run
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
(import ./modules/shell.nix)
|
(import ./modules/shell.nix)
|
||||||
|
(import ./modules/desktop.nix)
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs;[
|
home.packages = with pkgs;[
|
||||||
@@ -15,31 +16,9 @@
|
|||||||
strace # system call monitoring
|
strace # system call monitoring
|
||||||
ltrace # library call monitoring
|
ltrace # library call monitoring
|
||||||
lsof # list open files
|
lsof # list open files
|
||||||
|
|
||||||
# Desktop Utils
|
|
||||||
gnome3.gnome-tweaks
|
|
||||||
telegram-desktop
|
|
||||||
qq
|
|
||||||
];
|
];
|
||||||
|
programs.nix-index.enable = true;
|
||||||
# An Apple Music client, only can be downloaded after purchasing
|
programs.vscode.enable = true;
|
||||||
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;
|
|
||||||
};
|
|
||||||
|
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
|
|
||||||
|
|||||||
@@ -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" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
neofetch # tool for showing off
|
neofetch # tool for showing off
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.nix-index.enableFishIntegration = true;
|
||||||
programs.fzf.enableFishIntegration = false; # use fish.fzf keybinding
|
programs.fzf.enableFishIntegration = false; # use fish.fzf keybinding
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user