Compare commits
11
Commits
13f171f3e5
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3627a54cf | ||
|
|
12ec262fb6 | ||
|
|
f85a0b909e | ||
|
|
5299e5a262 | ||
|
|
f3b1d5d7d1 | ||
|
|
29f0e32b73 | ||
|
|
21b36367a1 | ||
|
|
900cc52938 | ||
|
|
de198441c1 | ||
|
|
fd89cb4e62 | ||
|
|
4739091c8a |
@@ -1,9 +1,10 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./rnnnoise.nix
|
||||
./neovim.nix
|
||||
./user-services.nix
|
||||
];
|
||||
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
@@ -39,26 +40,39 @@
|
||||
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||
# echo "Hello, ${config.home.username}!"
|
||||
# '')
|
||||
(brave.override {
|
||||
commandLineArgs = [
|
||||
"--enable-features=AcceleratedVideoEncoder"
|
||||
"--ignore-gpu-blocklist"
|
||||
"--enable-zero-copy"
|
||||
];
|
||||
})
|
||||
rnnoise-plugin
|
||||
nil
|
||||
nixd
|
||||
lua-language-server
|
||||
package-version-server
|
||||
tree-sitter
|
||||
# applications
|
||||
pwvucontrol
|
||||
waytrogen
|
||||
#waytrogen
|
||||
losslesscut
|
||||
pika-backup
|
||||
r2modman
|
||||
mission-center
|
||||
localsend
|
||||
simple-scan
|
||||
protonup-qt
|
||||
bottles
|
||||
#gearlever
|
||||
mission-center
|
||||
llama-cpp-rocm
|
||||
pi-coding-agent
|
||||
blender
|
||||
loupe
|
||||
# theming
|
||||
bibata-cursors
|
||||
# qt6 theming
|
||||
qt6Packages.qt6ct
|
||||
awww
|
||||
llama-cpp-rocm
|
||||
pi-coding-agent
|
||||
blender
|
||||
hyprshutdown
|
||||
wlogout
|
||||
grim
|
||||
@@ -66,6 +80,16 @@
|
||||
ignition
|
||||
];
|
||||
|
||||
home.activation.fixSteamIcons = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
for f in ~/.local/share/applications/*.desktop; do
|
||||
id=$(grep -Eo 'steam://rungameid/[0-9]+' "$f" | sed 's#.*/##') || true
|
||||
[ -n "$id" ] || continue
|
||||
last=$(tail -n1 "$f" || true)
|
||||
want="StartupWMClass=steam_app_$id"
|
||||
[ "$last" = "$want" ] || echo "$want" >> "$f"
|
||||
done
|
||||
'';
|
||||
|
||||
# theming
|
||||
stylix = {
|
||||
enable = true;
|
||||
@@ -121,6 +145,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
home.pointerCursor.hyprcursor = {
|
||||
enable = true;
|
||||
size = 24;
|
||||
};
|
||||
|
||||
# programs
|
||||
programs = {
|
||||
quickshell = {
|
||||
@@ -175,7 +204,7 @@
|
||||
};
|
||||
libreoffice.enable = true;
|
||||
kitty.enable = true;
|
||||
firefox.enable = true;
|
||||
discord.enable = true;
|
||||
};
|
||||
|
||||
dconf = {
|
||||
@@ -192,30 +221,6 @@
|
||||
rocmSupport = true;
|
||||
};
|
||||
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"x-scheme-handler/nxm-protocol" = "nxm-handler.desktop";
|
||||
"x-scheme-handler/nxm" = "nxm-handler.desktop";
|
||||
"audio/vnd.wave" = "vlc-3.desktop";
|
||||
"inode/directory"="dolphin.desktop";
|
||||
"text/html" = "brave-browser.desktop;firefox.desktop";
|
||||
"text/plain" = "zeditor.desktop";
|
||||
"video/mp4" = "vlc-2.desktop";
|
||||
"x-scheme-handler/freetube" = "freetube.desktop";
|
||||
"x-scheme-handler/http" = "firefox.desktop;brave-browser.desktop";
|
||||
"x-scheme-handler/https" = "firefox.desktop;brave-browser.desktop";
|
||||
"application/pdf" = "firefox.desktop;brave-browser.desktop";
|
||||
"x-scheme-handler/chrome" = "firefox.desktop;brave-browser.desktop";
|
||||
"application/x-extension-htm" = "firefox.desktop;brave-browser.desktop";
|
||||
"application/x-extension-html" = "firefox.desktop;brave-browser.desktop";
|
||||
"application/x-extension-shtml" = "firefox.desktop;brave-browser.desktop";
|
||||
"application/xhtml+xml" = "firefox.desktop;brave-browser.desktop";
|
||||
"application/x-extension-xhtml" = "firefox.desktop;brave-browser.desktop";
|
||||
"application/x-extension-xht" = "firefox.desktop;brave-browser.desktop";
|
||||
};
|
||||
};
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
# plain files is through 'home.file'.
|
||||
home.file = {
|
||||
@@ -250,6 +255,10 @@
|
||||
home.sessionVariables = {
|
||||
# EDITOR = "emacs";
|
||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||
HYPRCURSOR_THEME = "Bibata-Modern-Classic";
|
||||
HYPRCURSOR_SIZE = 24;
|
||||
XCURSOR_THEME = "Bibata-Modern-Classic";
|
||||
XCURSOR_SIZE = 24;
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
|
||||
+1
-29
@@ -26,35 +26,7 @@
|
||||
# '';
|
||||
#}
|
||||
{
|
||||
plugin = (nvim-treesitter.withPlugins (p: [
|
||||
p.c
|
||||
p.lua
|
||||
p.java
|
||||
p.vim
|
||||
p.vimdoc
|
||||
p.javascript
|
||||
p.query
|
||||
p.elixir
|
||||
p.html
|
||||
]));
|
||||
config = ''
|
||||
require("nvim-treesitter").setup({
|
||||
ensure_installed = {
|
||||
"c",
|
||||
"lua",
|
||||
"java",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"javascript",
|
||||
"query",
|
||||
"elixir",
|
||||
"html"
|
||||
},
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
'';
|
||||
plugin = nvim-treesitter.withAllGrammars;
|
||||
}
|
||||
#{
|
||||
# plugin = bufferline-nvim;
|
||||
|
||||
@@ -2,10 +2,9 @@
|
||||
|
||||
{
|
||||
systemd.user.services = {
|
||||
awww = {
|
||||
discord = {
|
||||
Unit = {
|
||||
Description = "An Answer to your Wayland Wallpaper Woes";
|
||||
Documentation = "man:awww-daemon(1)";
|
||||
Description = "Text and voice chat for gamers.";
|
||||
PartOf = [
|
||||
"graphical-session.target"
|
||||
];
|
||||
@@ -24,9 +23,7 @@
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.awww}/bin/awww-daemon";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "1";
|
||||
ExecStart = "${pkgs.discord}/bin/discord";
|
||||
Slice = "app-graphical.slice";
|
||||
};
|
||||
Install = {
|
||||
Reference in New Issue
Block a user