chore: refactor
This commit is contained in:
parent
e21c3a8a1f
commit
f06011e890
|
@ -1,27 +1,23 @@
|
||||||
{
|
{inputs, ...}: {
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
./cava
|
./cava
|
||||||
./discord
|
./discord
|
||||||
./dunst
|
./dunst
|
||||||
./gtk
|
|
||||||
./picom
|
./picom
|
||||||
./rofi
|
./rofi
|
||||||
|
./thunar
|
||||||
./wezterm
|
./wezterm
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
feh
|
|
||||||
];
|
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
|
# Install patched fonts
|
||||||
".local/share/fonts" = {
|
".local/share/fonts" = {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
source = "${inputs.self}/pkgs/patched-fonts";
|
source = "${inputs.self}/pkgs/patched-fonts";
|
||||||
};
|
};
|
||||||
|
# https://www.sainnhe.dev/post/patch-fonts-with-cursive-italic-styles/
|
||||||
|
|
||||||
|
# Configure the initialization of xinit
|
||||||
".xinitrc".source = ./xinitrc;
|
".xinitrc".source = ./xinitrc;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
gtk = {
|
|
||||||
enable = true;
|
|
||||||
theme = {
|
|
||||||
name = "Gruvbox-Material-Dark";
|
|
||||||
package = pkgs.unstable.gruvbox-material-gtk-theme;
|
|
||||||
};
|
|
||||||
iconTheme.name = "Gruvbox-Material-Dark";
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
xfce.thunar
|
|
||||||
xfce.ristretto
|
|
||||||
];
|
|
||||||
}
|
|
6
home-manager/sajenim/features/desktop/thunar/default.nix
Normal file
6
home-manager/sajenim/features/desktop/thunar/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
xfce.thunar
|
||||||
|
xfce.ristretto
|
||||||
|
];
|
||||||
|
}
|
|
@ -9,18 +9,27 @@
|
||||||
./features/university
|
./features/university
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
# Packages for our user environment
|
||||||
packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# Graphics
|
# Graphics
|
||||||
gimp
|
gimp
|
||||||
# Hardware
|
# Hardware
|
||||||
piper
|
piper
|
||||||
pulsemixer
|
pulsemixer
|
||||||
# Multimedia
|
# Multimedia
|
||||||
mpc-cli
|
mpc-cli
|
||||||
ncmpcpp
|
ncmpcpp
|
||||||
# Browsers
|
# Browsers
|
||||||
firefox
|
firefox
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Configure GTK 2/3 applications to use gruvbox-material
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
theme = {
|
||||||
|
name = "Gruvbox-Material-Dark";
|
||||||
|
package = pkgs.unstable.gruvbox-material-gtk-theme;
|
||||||
|
};
|
||||||
|
iconTheme.name = "Gruvbox-Material-Dark";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
nmap # network mapper
|
nmap # network mapper
|
||||||
xclip # clipboard
|
xclip # clipboard
|
||||||
ripgrep # searches the current directory for a regex pattern
|
ripgrep # searches the current directory for a regex pattern
|
||||||
sshfs # Mount filesystems over SSH
|
sshfs # mount filesystems over SSH
|
||||||
|
feh # image viewer
|
||||||
|
|
||||||
# HTTP
|
# HTTP
|
||||||
curl # transfer dato to/from server
|
curl # transfer dato to/from server
|
||||||
|
|
|
@ -3,7 +3,21 @@
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
# Install our XMonad and Xmobar configuration
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = [inputs.xmonad-config.packages.${pkgs.system}.default];
|
systemPackages = [inputs.xmonad-config.packages.${pkgs.system}.default];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Required dependencies for our xfce/gtk programs
|
||||||
|
programs = {
|
||||||
|
# Configuration storage system for xfce
|
||||||
|
xfconf.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
# Mount, trash, and other functionalities
|
||||||
|
gvfs.enable = true;
|
||||||
|
# Thumbnail support for images
|
||||||
|
tumbler.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,18 +37,12 @@
|
||||||
direnv.enable = true;
|
direnv.enable = true;
|
||||||
# Android debug bridge: communicate with devices
|
# Android debug bridge: communicate with devices
|
||||||
adb.enable = true;
|
adb.enable = true;
|
||||||
# Configuration storage system for xfce
|
|
||||||
xfconf.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure services
|
# Configure services
|
||||||
services = {
|
services = {
|
||||||
# Access smart cards using SCard API
|
# Access smart cards using SCard API
|
||||||
pcscd.enable = true;
|
pcscd.enable = true;
|
||||||
# Mount, trash, and other functionalities
|
|
||||||
gvfs.enable = true;
|
|
||||||
# Thumbnail support for images
|
|
||||||
tumbler.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Manage linux containers
|
# Manage linux containers
|
||||||
|
|
Loading…
Reference in a new issue