Update home-manager stuff and some other configs
This commit is contained in:
parent
a98f79880e
commit
9177d97e7a
8 changed files with 86 additions and 8 deletions
3
.bin/.e
3
.bin/.e
|
|
@ -12,6 +12,7 @@ declare -A mapper=(
|
||||||
["bash"]="$HOME/.bashrc"
|
["bash"]="$HOME/.bashrc"
|
||||||
["bspwm"]="$HOME/.config/bspwm/bspwmrc"
|
["bspwm"]="$HOME/.config/bspwm/bspwmrc"
|
||||||
["completions"]="$HOME/.config/completionsrc"
|
["completions"]="$HOME/.config/completionsrc"
|
||||||
|
["dunst"]="$HOME/.config/dunst/dunstrc##template"
|
||||||
["env"]="$HOME/.config/environment"
|
["env"]="$HOME/.config/environment"
|
||||||
["env.d"]="$HOME/.config/env.d/"
|
["env.d"]="$HOME/.config/env.d/"
|
||||||
["git"]="$HOME/.config/git/config"
|
["git"]="$HOME/.config/git/config"
|
||||||
|
|
@ -58,6 +59,7 @@ declare -A directory=(
|
||||||
)
|
)
|
||||||
|
|
||||||
declare -A hooks=(
|
declare -A hooks=(
|
||||||
|
["dunst"]="dunstctl reload"
|
||||||
["hyprland"]="hyprctl reload"
|
["hyprland"]="hyprctl reload"
|
||||||
["projectsrc"]="projects-status"
|
["projectsrc"]="projects-status"
|
||||||
["qutebrowser"]="qutebrowser :config-source"
|
["qutebrowser"]="qutebrowser :config-source"
|
||||||
|
|
@ -101,5 +103,6 @@ hook="${hooks["$1"]}"
|
||||||
if [ -n "$hook" ]
|
if [ -n "$hook" ]
|
||||||
then
|
then
|
||||||
echo "Running hook: $hook"
|
echo "Running hook: $hook"
|
||||||
|
yadm alt
|
||||||
eval "$hook"
|
eval "$hook"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,6 @@
|
||||||
playerctl # control media players
|
playerctl # control media players
|
||||||
(spotifyd.override { withMpris = true; }) # spotify-daemon
|
(spotifyd.override { withMpris = true; }) # spotify-daemon
|
||||||
#wireplumber # pipewire session manager
|
#wireplumber # pipewire session manager
|
||||||
helvum # pipewire GUI
|
crosspipe # pipewire GUI
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
doggo # dns client
|
doggo # dns client
|
||||||
dust # du alternative
|
dust # du alternative
|
||||||
eza # ls-alternative
|
eza # ls-alternative
|
||||||
faas-cli # cli for openfaas
|
|
||||||
figlet # tool to create ascii art
|
figlet # tool to create ascii art
|
||||||
fzf # fuzzy finder
|
fzf # fuzzy finder
|
||||||
git # git
|
git # git
|
||||||
|
|
|
||||||
48
.config/home-manager/flake.lock
generated
Normal file
48
.config/home-manager/flake.lock
generated
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1778009629,
|
||||||
|
"narHash": "sha256-nUoQtf4Zq7DRYJrfv904hjrxjAlWVP6a1pNNFKx3FCg=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "00ed86e58bb6979a7921859fd1615d19382eac5c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777954456,
|
||||||
|
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"home-manager": "home-manager",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
31
.config/home-manager/flake.nix
Normal file
31
.config/home-manager/flake.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
description = "Home Manager configuration of serguzim";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
# Specify the source of Home Manager and Nixpkgs.
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs =
|
||||||
|
{ nixpkgs, home-manager, ... }:
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
homeConfigurations."serguzim" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
|
||||||
|
# Specify your home configuration modules here, for example,
|
||||||
|
# the path to your home.nix.
|
||||||
|
modules = [ ./home.nix ];
|
||||||
|
|
||||||
|
# Optionally use extraSpecialArgs
|
||||||
|
# to pass through arguments to home.nix
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
keepassxc # password manager
|
keepassxc # password manager
|
||||||
#kdePackages.kdeconnect-kde # tool to connect a phone to the computer
|
#kdePackages.kdeconnect-kde # tool to connect a phone to the computer
|
||||||
pavucontrol # Pulseaudio GUI
|
pavucontrol # Pulseaudio GUI
|
||||||
xfce.thunar # file manager
|
thunar # file manager
|
||||||
xfce.tumbler # thumbnail tool
|
tumbler # thumbnail tool
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
./graphical.nix
|
./graphical.nix
|
||||||
./nvim.nix
|
./nvim.nix
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
./x11.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
@ -18,8 +17,6 @@
|
||||||
cargo # rust
|
cargo # rust
|
||||||
devenv
|
devenv
|
||||||
rustc
|
rustc
|
||||||
#ckb-next # corsair hardware control
|
|
||||||
#rustdesk # remote desktop tool # disabled for nightly from aur
|
|
||||||
solaar # Logitech tool
|
solaar # Logitech tool
|
||||||
syncthing # file syncing tool
|
syncthing # file syncing tool
|
||||||
#flatpak
|
#flatpak
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
%YAML 1.3
|
%YAML 1.3
|
||||||
---
|
---
|
||||||
- Key: [Lock PC, pressed]
|
- Key: [Screen Lock, pressed]
|
||||||
- KeyPress:
|
- KeyPress:
|
||||||
- Pause
|
- Pause
|
||||||
- click
|
- click
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue