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 = [
|
imports = [
|
||||||
./rnnnoise.nix
|
./rnnnoise.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
|
./user-services.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
@@ -39,26 +40,39 @@
|
|||||||
# (pkgs.writeShellScriptBin "my-hello" ''
|
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||||
# echo "Hello, ${config.home.username}!"
|
# echo "Hello, ${config.home.username}!"
|
||||||
# '')
|
# '')
|
||||||
|
(brave.override {
|
||||||
|
commandLineArgs = [
|
||||||
|
"--enable-features=AcceleratedVideoEncoder"
|
||||||
|
"--ignore-gpu-blocklist"
|
||||||
|
"--enable-zero-copy"
|
||||||
|
];
|
||||||
|
})
|
||||||
rnnoise-plugin
|
rnnoise-plugin
|
||||||
nil
|
nil
|
||||||
nixd
|
nixd
|
||||||
lua-language-server
|
lua-language-server
|
||||||
|
package-version-server
|
||||||
|
tree-sitter
|
||||||
# applications
|
# applications
|
||||||
pwvucontrol
|
pwvucontrol
|
||||||
waytrogen
|
#waytrogen
|
||||||
losslesscut
|
losslesscut
|
||||||
pika-backup
|
pika-backup
|
||||||
r2modman
|
r2modman
|
||||||
mission-center
|
|
||||||
localsend
|
localsend
|
||||||
|
simple-scan
|
||||||
|
protonup-qt
|
||||||
|
bottles
|
||||||
|
#gearlever
|
||||||
|
mission-center
|
||||||
|
llama-cpp-rocm
|
||||||
|
pi-coding-agent
|
||||||
|
blender
|
||||||
|
loupe
|
||||||
# theming
|
# theming
|
||||||
bibata-cursors
|
bibata-cursors
|
||||||
# qt6 theming
|
# qt6 theming
|
||||||
qt6Packages.qt6ct
|
qt6Packages.qt6ct
|
||||||
awww
|
|
||||||
llama-cpp-rocm
|
|
||||||
pi-coding-agent
|
|
||||||
blender
|
|
||||||
hyprshutdown
|
hyprshutdown
|
||||||
wlogout
|
wlogout
|
||||||
grim
|
grim
|
||||||
@@ -66,6 +80,16 @@
|
|||||||
ignition
|
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
|
# theming
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -121,6 +145,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.pointerCursor.hyprcursor = {
|
||||||
|
enable = true;
|
||||||
|
size = 24;
|
||||||
|
};
|
||||||
|
|
||||||
# programs
|
# programs
|
||||||
programs = {
|
programs = {
|
||||||
quickshell = {
|
quickshell = {
|
||||||
@@ -175,7 +204,7 @@
|
|||||||
};
|
};
|
||||||
libreoffice.enable = true;
|
libreoffice.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
firefox.enable = true;
|
discord.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
dconf = {
|
dconf = {
|
||||||
@@ -192,30 +221,6 @@
|
|||||||
rocmSupport = true;
|
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
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
home.file = {
|
home.file = {
|
||||||
@@ -250,6 +255,10 @@
|
|||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
# EDITOR = "emacs";
|
# EDITOR = "emacs";
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
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.
|
# Let Home Manager install and manage itself.
|
||||||
|
|||||||
+1
-29
@@ -26,35 +26,7 @@
|
|||||||
# '';
|
# '';
|
||||||
#}
|
#}
|
||||||
{
|
{
|
||||||
plugin = (nvim-treesitter.withPlugins (p: [
|
plugin = nvim-treesitter.withAllGrammars;
|
||||||
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 = bufferline-nvim;
|
# plugin = bufferline-nvim;
|
||||||
|
|||||||
@@ -2,10 +2,9 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
awww = {
|
discord = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "An Answer to your Wayland Wallpaper Woes";
|
Description = "Text and voice chat for gamers.";
|
||||||
Documentation = "man:awww-daemon(1)";
|
|
||||||
PartOf = [
|
PartOf = [
|
||||||
"graphical-session.target"
|
"graphical-session.target"
|
||||||
];
|
];
|
||||||
@@ -24,9 +23,7 @@
|
|||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = "${pkgs.awww}/bin/awww-daemon";
|
ExecStart = "${pkgs.discord}/bin/discord";
|
||||||
Restart = "on-failure";
|
|
||||||
RestartSec = "1";
|
|
||||||
Slice = "app-graphical.slice";
|
Slice = "app-graphical.slice";
|
||||||
};
|
};
|
||||||
Install = {
|
Install = {
|
||||||
Reference in New Issue
Block a user