added niri to home configuration

This commit is contained in:
2026-05-08 11:15:45 +02:00
parent 85675ab32d
commit 39a1ba8bf6
+61 -53
View File
@@ -2,9 +2,9 @@
{
imports = [
./modules/shell/alacritty.nix
./system/default.nix
./gnome.nix
# ./modules/shell/alacritty.nix
# ./system/default.nix
# ./gnome.nix
];
# Home Manager needs a bit of information about you and the paths it should
@@ -20,7 +20,15 @@
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "25.11"; # Please read the comment before changing.
programs.niri.settings = {
binds = with config.lib.niri.actions; {
"Mod+Return".action = spawn "alacritty";
"Mod+Q".action = close-window;
"Mod+Right".action = focus-column-right;
"Mod+Left".action = focus-column-left;
"MOd+D".action = spawn "fuzzel";
};
};
# The home.packages option allows you to install Nix packages into your
# environment.
@@ -59,11 +67,11 @@
# recursive = true;
#};
home.packages = with pkgs; [
htop
noto-fonts
fira-code
nerd-fonts.fira-code
# home.packages = with pkgs; [i
# htop
# noto-fonts
# fira-code
# nerd-fonts.fira-code
# pkgs.pidgin
# pkgs.gnomeExtensions.user-themes
# pkgs.gnomeExtensions.tray-icons-reloaded
@@ -71,12 +79,12 @@
# pkgs.gnomeExtensions.dash-to-panel
# pkgs.gnomeExtensions.sound-output-device-chooser
# pkgs.gnomeExtensions.space-bar
unzip
zip
# unzip
# zip
# yazi
pkgs.p7zip
inetutils
signal-desktop
# pkgs.p7zip
# inetutils
# signal-desktop
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
# pkgs.hello
@@ -93,7 +101,7 @@
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
];
#];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
@@ -109,36 +117,36 @@
# org.gradle.daemon.idletimeout=3600000
# '';
};
gtk = {
enable = true;
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
theme = {
name = "palenight";
package = pkgs.palenight-theme;
};
cursorTheme = {
name = "Numix-Cursor";
package = pkgs.numix-cursor-theme;
};
gtk3.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
gtk4.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
};
# gtk = {
# enable = true;
#
# iconTheme = {
# name = "Papirus-Dark";
# package = pkgs.papirus-icon-theme;
# };
#
# theme = {
# name = "palenight";
# package = pkgs.palenight-theme;
# };
#
# cursorTheme = {
# name = "Numix-Cursor";
# package = pkgs.numix-cursor-theme;
# };
#
# gtk3.extraConfig = {
# Settings = ''
# gtk-application-prefer-dark-theme=1
# '';
# };
#
# gtk4.extraConfig = {
# Settings = ''
# gtk-application-prefer-dark-theme=1
# '';
# };
# };
# Home Manager can also manage your environment variables through
# 'home.sessionVariables'. If you don't want to manage your shell through Home
# Manager then you have to manually source 'hm-session-vars.sh' located at
@@ -150,12 +158,12 @@
#
# /etc/profiles/per-user/martin/etc/profile.d/hm-session-vars.sh
#
home.sessionVariables = {
# EDITOR = "emacs";
GTK_THEME = "palenight";
};
# Let Home Manager install and manage itself.
fonts.fontconfig.enable = true;
programs.home-manager.enable = true;
# home.sessionVariables = {
# # EDITOR = "emacs";
# GTK_THEME = "palenight";
# };
#
# # Let Home Manager install and manage itself.
# fonts.fontconfig.enable = true;
# programs.home-manager.enable = true;
}