feat(homix): update configuration

Extract `river` configuration into a `home-manager` module
Fix `xkb` configuration
Unpin `neovim-nightly-overlay`:
    - https://github.com/nix-community/neovim-nightly-overlay/pull/166
    - https://github.com/nix-community/neovim-nightly-overlay/pull/167
This commit is contained in:
reo101 2023-03-13 18:18:03 +02:00
parent e122d8ba94
commit e86d916ae8
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
10 changed files with 122 additions and 67 deletions

View file

@ -26,15 +26,15 @@
home.packages = with pkgs; [
## WM
river
swww # wallpaper deamon
# wired-notify # dunst on wayland
waybar # status bar
xwayland
wl-clipboard
slurp # select regions from wayland
grim # grap images from regions
playerctl # music control
# river
# swww # wallpaper deamon
# # wired-notify # dunst on wayland
# waybar # status bar
# xwayland
# wl-clipboard
# slurp # select regions from wayland
# grim # grap images from regions
# playerctl # music control
## Terminals
# wezterm
@ -45,6 +45,7 @@
git
firefox
discord
armcord # modded discord
vifm # file editor
pciutils # lspci
usbutils # lsusb
@ -98,54 +99,26 @@
userEmail = "pavel.atanasov2001@gmail.com";
};
reo101 = {
reo101 = {
shell = {
enable = true;
direnv = true;
zoxide = true;
};
river = {
enable = true;
};
wezterm = {
enable = true;
};
};
systemd.user.services."swww" = {
Unit = {
Description = "Swww Daemon";
PartOf = "graphical-session.target";
};
Service = {
ExecStart = "${pkgs.swww}/bin/swww init";
ExecStop = "${pkgs.swww}/bin/swww kill";
Type = "simple";
Restart = "always";
RestartSec = 5;
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
# services.swww = {
# enabled = true;
# };
services.wired = {
enable = true;
config = ../configs/wired.ron;
};
home.file = {
".config/nvim" = {
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.local/src/reovim";
};
};
home.file.".config/river/init" = {
executable = true;
source = ../configs/river;
};
# home.file.".stack/config.yaml".text = lib.generators.toYAML {} {
# templates = {
# scm-init = "git";
@ -157,5 +130,4 @@
# };
# nix.enable = true;
# };
}