chore: reinit
This commit is contained in:
parent
095e9f4f6b
commit
3027322470
29 changed files with 1215 additions and 528 deletions
|
|
@ -1,12 +1,9 @@
|
|||
{ config
|
||||
, inputs
|
||||
, lib
|
||||
, pkgs
|
||||
{ pkgs
|
||||
, ...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./hyprland
|
||||
./gnome
|
||||
./vim.nix
|
||||
./zsh.nix
|
||||
];
|
||||
|
|
@ -14,9 +11,6 @@
|
|||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
config.permittedInsecurePackages = [
|
||||
"libsoup-2.74.3"
|
||||
];
|
||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
||||
# nixpkgs.config.allowUnfreePredicate =
|
||||
# pkg:
|
||||
|
|
@ -32,34 +26,27 @@
|
|||
home = {
|
||||
homeDirectory = "/home/thiago";
|
||||
packages = with pkgs; [
|
||||
bambu-studio
|
||||
direnv
|
||||
fira-code
|
||||
firefox
|
||||
heroic
|
||||
hwinfo
|
||||
hydralauncher
|
||||
inkscape
|
||||
keymapp
|
||||
lazygit
|
||||
libinput
|
||||
librespot
|
||||
luarocks
|
||||
nerd-fonts.fira-code
|
||||
nil
|
||||
nixpkgs-fmt
|
||||
nordic
|
||||
obsidian
|
||||
pinentry-curses
|
||||
python3
|
||||
python3Packages.pip
|
||||
rclone
|
||||
ripgrep
|
||||
shfmt
|
||||
statix
|
||||
stylua
|
||||
sysbench
|
||||
transmission_4
|
||||
uget
|
||||
unzip
|
||||
waydroid
|
||||
wl-clipboard
|
||||
];
|
||||
username = "thiago";
|
||||
};
|
||||
|
|
@ -87,7 +74,7 @@
|
|||
};
|
||||
lfs.enable = true;
|
||||
signing = {
|
||||
key = "3065EA73A976D430";
|
||||
key = "EC7C84664FF515B63AD510B63065EA73A976D430";
|
||||
signByDefault = true;
|
||||
};
|
||||
userEmail = "th.spo@pm.me";
|
||||
|
|
@ -99,21 +86,25 @@
|
|||
kitty = {
|
||||
enable = true;
|
||||
keybindings = {
|
||||
# splitting
|
||||
"ctrl+shift+enter" = "new_window";
|
||||
"ctrl+shift+\\" = "new_window --location=hsplit";
|
||||
# resizing
|
||||
"ctrl+alt+left" = "resize_window narrower";
|
||||
"ctrl+alt+right" = "resize_window wider";
|
||||
"ctrl+alt+up" = "resize_window taller";
|
||||
"ctrl+alt+down" = "resize_window shorter";
|
||||
|
||||
};
|
||||
|
||||
settings = {
|
||||
hide_window_decorations = "titlebar-only";
|
||||
font_size = 16;
|
||||
font = "ComicShannsMono Nerd Font Mono";
|
||||
font_size = 18;
|
||||
font_family = "GohuFont 14 Nerd Font Mono";
|
||||
inactive_text_alpha = "0.6";
|
||||
background_blur = 16;
|
||||
background_opacity = 0.0;
|
||||
# background_blur = 32;
|
||||
background_opacity = 1.0;
|
||||
};
|
||||
themeFile = "Nord";
|
||||
};
|
||||
|
||||
vscode = {
|
||||
|
|
@ -121,29 +112,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.user.services.librespot-connect = {
|
||||
Unit = {
|
||||
Description = "Librespot (Spotify Connect) bound to LAN interface";
|
||||
After = [ "network.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.librespot}/bin/librespot \
|
||||
--name LS-TEST \
|
||||
--backend pulseaudio \
|
||||
--device default \
|
||||
--bitrate 320 \
|
||||
--disable-audio-cache \
|
||||
--enable-volume-normalisation \
|
||||
--initial-volume 75 \
|
||||
--zeroconf-port 17005";
|
||||
Restart = "on-failure";
|
||||
BindToDevice = "wlp7s0"; # Force binding to LAN interface
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.startServices = "sd-switch";
|
||||
home.stateVersion = "24.05";
|
||||
home.stateVersion = "25.11";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue