mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-25 04:14:53 +00:00
i3 and polybar
This commit is contained in:
parent
c969c50026
commit
addc286bf2
@ -21,6 +21,7 @@
|
||||
|
||||
# Set your time zone, also used by redshift
|
||||
services.localtime.enable = true;
|
||||
services.avahi.enable = true;
|
||||
services.geoclue2.enable = true;
|
||||
location = { provider = "geoclue2"; };
|
||||
|
||||
@ -35,14 +36,14 @@
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
|
||||
windowManager = { spectrwm = { enable = true; }; };
|
||||
windowManager = { i3 = { enable = true; }; };
|
||||
|
||||
# Enable touchpad support
|
||||
libinput.enable = true;
|
||||
|
||||
# Disable mouse acceleration
|
||||
libinput.mouse.accelProfile = "flat";
|
||||
libinput.mouse.accelSpeed = "1.5";
|
||||
libinput.mouse.accelSpeed = "1.25";
|
||||
|
||||
# Keyboard responsiveness
|
||||
autoRepeatDelay = 250;
|
||||
@ -82,8 +83,10 @@
|
||||
|
||||
};
|
||||
|
||||
hardware.acpilight.enable = true;
|
||||
|
||||
# Required for setting GTK theme (for preferred-color-scheme in browser)
|
||||
services.dbus.packages = with pkgs; [ gnome3.dconf ];
|
||||
services.dbus.packages = with pkgs; [ pkgs.dconf ];
|
||||
|
||||
# Mouse config
|
||||
services.ratbagd.enable = true;
|
||||
@ -105,7 +108,12 @@
|
||||
};
|
||||
|
||||
# Install fonts
|
||||
fonts.fonts = with pkgs; [ victor-mono nerdfonts ];
|
||||
fonts.fonts = with pkgs; [
|
||||
victor-mono # Used for Vim and Terminal
|
||||
nerdfonts
|
||||
font-awesome # Icons (for i3)
|
||||
siji # More icons for Polybar
|
||||
];
|
||||
fonts.fontconfig.defaultFonts.monospace = [ "Victor Mono" ];
|
||||
|
||||
# Gaming
|
||||
@ -168,6 +176,12 @@
|
||||
dmenu
|
||||
xlockmore
|
||||
feh
|
||||
xorg.xbacklight
|
||||
playerctl
|
||||
# i3blocks
|
||||
polybar
|
||||
st # alt terminal
|
||||
kitty # alt terminal
|
||||
|
||||
# Mouse config
|
||||
libratbag
|
||||
@ -189,12 +203,16 @@
|
||||
enable = true;
|
||||
brightness = {
|
||||
day = "1.0";
|
||||
night = "0.75";
|
||||
night = "0.5";
|
||||
};
|
||||
};
|
||||
|
||||
# Login to Keybase in the background
|
||||
services.keybase.enable = true;
|
||||
services.kbfs = {
|
||||
enable = true;
|
||||
mountPoint = "/keybase";
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
|
@ -23,6 +23,7 @@ in {
|
||||
mpv # Video viewer
|
||||
sxiv # Image viewer
|
||||
zathura # PDF viewer
|
||||
qbittorrent
|
||||
|
||||
# Utilities
|
||||
unzip
|
||||
|
@ -1,16 +0,0 @@
|
||||
libratbag (ratbagd) for input devices
|
||||
|
||||
inspiration: https://github.com/JonathanReeve/dotfiles/blob/minimal/dotfiles/home.nix
|
||||
|
||||
https://github.com/nuxshed/dotfiles
|
||||
|
||||
more: https://github.com/mitchellh/nixos-config/blob/main/users/mitchellh/home-manager.nix
|
||||
|
||||
https://github.com/kyechou/leagueoflegends
|
||||
|
||||
Encryption:
|
||||
https://www.passwordstore.org/
|
||||
https://github.com/roddhjav/pass-tomb#readme
|
||||
https://github.com/AGWA/git-crypt
|
||||
https://github.com/FiloSottile/age
|
||||
https://sr.ht/~gpanders/passage/
|
@ -90,6 +90,7 @@ require("packer").startup(function(use)
|
||||
literal = {
|
||||
Caskfile = "brewfile",
|
||||
[".gitignore"] = "gitignore",
|
||||
config = "config",
|
||||
},
|
||||
complex = {
|
||||
[".*git/config"] = "gitconfig",
|
||||
@ -120,6 +121,14 @@ require("packer").startup(function(use)
|
||||
-- Markdown pretty view
|
||||
use("ellisonleao/glow.nvim")
|
||||
|
||||
-- Hex color previews
|
||||
use({
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require("colorizer").setup()
|
||||
end,
|
||||
})
|
||||
|
||||
-- Snippet engine
|
||||
use("L3MON4D3/LuaSnip")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user