refactor
This commit is contained in:
@@ -59,8 +59,7 @@
|
||||
echo "Backup and encryption complete: $DESTINATION"
|
||||
|
||||
echo "Space remaining:"
|
||||
df -h | head -n 1
|
||||
df -h | grep -P "^/dev.+? "
|
||||
dysk
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
15
home-modules/pkgs-list/desktop.nix
Normal file
15
home-modules/pkgs-list/desktop.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }@all: with all; {
|
||||
home.packages = with pkgs; [
|
||||
brightnessctl
|
||||
blueman
|
||||
fontpreview
|
||||
gsettings-desktop-schemas
|
||||
imv
|
||||
pavucontrol
|
||||
# playerctl
|
||||
swww
|
||||
wev
|
||||
wl-clipboard
|
||||
xclip
|
||||
];
|
||||
}
|
||||
16
home-modules/pkgs-list/programs.nix
Normal file
16
home-modules/pkgs-list/programs.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs, hyper, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
chromium
|
||||
element-desktop
|
||||
mpv
|
||||
qbittorrent
|
||||
unstable.spotify
|
||||
wl-clipboard
|
||||
xfce.thunar
|
||||
] ++ (if (hyper.host != "NxACE") then [
|
||||
signal-desktop
|
||||
obsidian
|
||||
zoom-us
|
||||
inkscape
|
||||
] else []);
|
||||
}
|
||||
@@ -1,8 +1,6 @@
|
||||
{ pkgs, ... }@all: with all;
|
||||
{
|
||||
{ pkgs, ... }@all: with all; {
|
||||
home.packages = with pkgs; [
|
||||
bat
|
||||
browsh
|
||||
cmake
|
||||
dig
|
||||
du-dust
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{ pkgs, ... }@all: with all;
|
||||
let
|
||||
{ pkgs, hyper, ... }@all: with all; let
|
||||
sep = " ";
|
||||
in {
|
||||
sops.secrets = {
|
||||
|
||||
32
home-modules/xdg.nix
Normal file
32
home-modules/xdg.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ pkgs, ... }@all: with all; {
|
||||
xdg = {
|
||||
enable = true;
|
||||
configHome = "${hyper.home}.config";
|
||||
cacheHome = "${hyper.home}.cache";
|
||||
dataHome = "${hyper.home}.local/share";
|
||||
stateHome = "${hyper.home}.local/state";
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = let
|
||||
browser = "firefox.desktop";
|
||||
image = "imv.desktop";
|
||||
in {
|
||||
"default-web-browser" = [ browser ];
|
||||
"text/html" = [ browser ];
|
||||
"text/htm" = [ browser ];
|
||||
"x-scheme-handler/http" = [ browser ];
|
||||
"x-scheme-handler/https" = [ browser ];
|
||||
"x-scheme-handler/about" = [ browser ];
|
||||
"x-scheme-handler/unknown" = [ browser ];
|
||||
"x-scheme-handler/mailto" = "thunderbird.desktop";
|
||||
"image/png" = image;
|
||||
"image/jpg" = image;
|
||||
"image/jpeg" = image;
|
||||
"image/webp" = image;
|
||||
"image/gif" = image;
|
||||
"application/pdf" = "zathura.desktop";
|
||||
"inode/directory" = "thunar.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user