2023-02-12 23:33:57 +01:00
|
|
|
{ inputs, outputs, lib, pkgs, config, ... }:
|
2023-02-11 00:08:58 +01:00
|
|
|
|
|
|
|
{
|
2023-02-12 00:32:13 +01:00
|
|
|
imports = builtins.attrValues outputs.homeManagerModules ++ [
|
|
|
|
inputs.wired.homeManagerModules.default
|
|
|
|
];
|
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = builtins.attrValues outputs.overlays ++ [
|
2023-02-12 23:33:57 +01:00
|
|
|
inputs.neovim-nightly-overlay.overlay
|
2023-02-12 00:32:13 +01:00
|
|
|
inputs.zig-overlay.overlays.default
|
|
|
|
inputs.wired.overlays.default
|
|
|
|
];
|
|
|
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
2023-02-11 00:08:58 +01:00
|
|
|
|
|
|
|
home = {
|
|
|
|
username = "reo101";
|
|
|
|
homeDirectory = "/home/reo101";
|
|
|
|
stateVersion = "22.11";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
2023-02-12 00:32:13 +01:00
|
|
|
## WM
|
|
|
|
river # window manager
|
|
|
|
swww # wallpaper deamon
|
|
|
|
# wired-notify # dunst on wayland
|
2023-02-12 23:33:57 +01:00
|
|
|
waybar # status bar
|
2023-02-11 00:08:58 +01:00
|
|
|
|
2023-02-12 00:32:13 +01:00
|
|
|
## Terminals
|
2023-02-11 00:08:58 +01:00
|
|
|
wezterm
|
|
|
|
foot
|
|
|
|
|
2023-02-12 00:32:13 +01:00
|
|
|
## Core
|
2023-02-11 00:08:58 +01:00
|
|
|
neovim
|
|
|
|
git
|
|
|
|
firefox
|
|
|
|
discord
|
|
|
|
vifm
|
|
|
|
|
2023-02-12 00:32:13 +01:00
|
|
|
## Shell
|
2023-02-11 00:08:58 +01:00
|
|
|
zsh
|
|
|
|
starship
|
|
|
|
zoxide
|
2023-02-12 00:32:13 +01:00
|
|
|
ripgrep
|
2023-02-11 00:08:58 +01:00
|
|
|
|
2023-02-12 00:32:13 +01:00
|
|
|
## Dhall
|
2023-02-11 00:08:58 +01:00
|
|
|
dhall
|
|
|
|
dhall-lsp-server
|
|
|
|
|
2023-02-12 00:32:13 +01:00
|
|
|
## Nix
|
2023-02-11 00:08:58 +01:00
|
|
|
rnix-lsp
|
|
|
|
nil
|
|
|
|
direnv
|
|
|
|
|
2023-02-12 00:32:13 +01:00
|
|
|
## Torrents
|
2023-02-11 00:08:58 +01:00
|
|
|
tremc
|
|
|
|
|
2023-02-12 00:32:13 +01:00
|
|
|
## Rust
|
|
|
|
rustc
|
|
|
|
cargo
|
|
|
|
|
|
|
|
## Zig
|
2023-02-11 00:08:58 +01:00
|
|
|
# zigpkgs."0.10.1"
|
|
|
|
zigpkgs.master
|
|
|
|
# inputs.zls-overlay.packages.x86_64-linux.default
|
|
|
|
];
|
|
|
|
|
|
|
|
# Enable the GPG Agent daemon.
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
defaultCacheTtl = 1800;
|
|
|
|
enableSshSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "reo101";
|
|
|
|
userEmail = "pavel.atanasov2001@gmail.com";
|
|
|
|
};
|
|
|
|
|
|
|
|
reo101.shell = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
2023-02-12 00:32:13 +01:00
|
|
|
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 = {
|
2023-02-12 23:33:57 +01:00
|
|
|
WantedBy = [ "graphical-session.target" ];
|
2023-02-12 00:32:13 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# services.swww = {
|
|
|
|
# enabled = true;
|
|
|
|
# };
|
|
|
|
|
|
|
|
services.wired = {
|
|
|
|
enable = true;
|
|
|
|
config = ../configs/wired.ron;
|
|
|
|
};
|
|
|
|
|
2023-02-11 00:08:58 +01:00
|
|
|
home.file = {
|
|
|
|
".config/nvim" = {
|
|
|
|
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.local/src/reovim";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
home.file.".config/river/init" = {
|
|
|
|
executable = true;
|
2023-02-12 00:32:13 +01:00
|
|
|
source = ../configs/river;
|
2023-02-11 00:08:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# home.file.".stack/config.yaml".text = lib.generators.toYAML {} {
|
|
|
|
# templates = {
|
|
|
|
# scm-init = "git";
|
|
|
|
# params = with config.programs.git; {
|
|
|
|
# author-name = userName;
|
|
|
|
# author-email = userEmail;
|
|
|
|
# github-username = userName;
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# nix.enable = true;
|
|
|
|
# };
|
|
|
|
|
|
|
|
}
|