summaryrefslogtreecommitdiff
path: root/hosts/local/i3.nix
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-01-31 01:55:31 +0700
committerpolwex <polwex@sortug.com>2025-01-31 01:55:31 +0700
commit0e69d956f5fc20546d0a96a3891d6dd29942468b (patch)
treeea37d521b299e0d606dd6f84a3db76ff3a568ede /hosts/local/i3.nix
parentfb39334bcdac65a1ff1d95e7e4db2e28eabcc2d6 (diff)
config for wayland on nvidia
Diffstat (limited to 'hosts/local/i3.nix')
-rw-r--r--hosts/local/i3.nix74
1 files changed, 42 insertions, 32 deletions
diff --git a/hosts/local/i3.nix b/hosts/local/i3.nix
index 50b9afa..a45c3c1 100644
--- a/hosts/local/i3.nix
+++ b/hosts/local/i3.nix
@@ -27,9 +27,15 @@
# gnome stuff
services.gvfs.enable = true;
programs.dconf.enable = true;
+ # screen tearing
+ services.picom = {
+ enable = true;
+ vSync = true;
+ };
environment.systemPackages = with pkgs; [
+ #notifications
+ dunst
# gnome stuff
- gnome.adwaita-icon-theme
nautilus
polybar
rofi
@@ -40,6 +46,7 @@
# screenshots
flameshot
shutter
+ xclip
maim
kitty
@@ -49,6 +56,8 @@
brave
gimp
vlc
+ mpv
+ celluloid
thunderbird
kmail
firefox
@@ -91,36 +100,37 @@
defaultFonts.sansSerif = ["DejaVu Sans"];
defaultFonts.serif = ["DejaVu Serif" "Source Han Serif SC"];
};
- packages = with pkgs; [
- fira-code
- fira
- cooper-hewitt
- ibm-plex
- jetbrains-mono
- iosevka
- spleen
- fira-code-symbols
- powerline-fonts
- nerdfonts
- arphic-ukai
- arphic-uming
- dejavu_fonts
- font-awesome
- inconsolata # monospaced
- noto-fonts
- noto-fonts-cjk-sans
- noto-fonts-emoji
- noto-fonts-extra
- powerline-fonts
- source-han-sans-japanese
- source-han-sans-korean
- source-han-sans-simplified-chinese
- source-han-sans-traditional-chinese
- source-sans-pro
- ubuntu_font_family
- wqy_microhei
- wqy_zenhei
- ];
+ packages = with pkgs;
+ [
+ fira-code
+ fira
+ cooper-hewitt
+ ibm-plex
+ jetbrains-mono
+ iosevka
+ spleen
+ fira-code-symbols
+ powerline-fonts
+ arphic-ukai
+ arphic-uming
+ dejavu_fonts
+ font-awesome
+ inconsolata # monospaced
+ noto-fonts
+ noto-fonts-cjk-sans
+ noto-fonts-emoji
+ noto-fonts-extra
+ powerline-fonts
+ source-han-sans-japanese
+ source-han-sans-korean
+ source-han-sans-simplified-chinese
+ source-han-sans-traditional-chinese
+ source-sans-pro
+ ubuntu_font_family
+ wqy_microhei
+ wqy_zenhei
+ ]
+ ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
};
# screen capture
@@ -133,7 +143,7 @@
## Remove sound.enable or set it to false if you had it set previously, as sound.enable is only meant for ALSA-based configurations
# rtkit is optional but recommended
- hardware.pulseaudio.enable = false;
+ services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;