nixos: gen 116 @ nix-pad — 2026-07-24 18:27
26.05.20260717.293d6ab (Yarara)
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, dms, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./dunst.nix
|
||||
./gnome.nix
|
||||
./i3.nix
|
||||
./polybar.nix
|
||||
./rofi.nix
|
||||
./niri.nix
|
||||
#./dunst.nix
|
||||
#./gnome.nix
|
||||
#./i3.nix
|
||||
#./polybar.nix
|
||||
#./rofi.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.dms.homeModules.dank-material-shell
|
||||
];
|
||||
|
||||
|
||||
programs.dank-material-shell = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
};
|
||||
|
||||
#systemd.user.services.niri-flake-polkit.enable = false;
|
||||
|
||||
# 2. Enable & Configure Niri
|
||||
programs.niri = {
|
||||
# Declarative KDL configuration for Niri
|
||||
settings = {
|
||||
# Autostart DMS if you prefer launching it directly from Niri instead of systemd
|
||||
# spawn-at-startup = [ { command = [ "dms" ]; } ];
|
||||
|
||||
# Core keybindings
|
||||
binds = {
|
||||
"Mod+Return".action.spawn = "alacritty"; # Or your preferred terminal
|
||||
"Mod+X".action.close-window = [];
|
||||
"Mod+Shift+E".action.quit = [];
|
||||
|
||||
# Focus / Column movement
|
||||
"Mod+H".action.focus-column-left = [];
|
||||
"Mod+L".action.focus-column-right = [];
|
||||
"Mod+J".action.focus-window-or-workspace-down = [];
|
||||
"Mod+K".action.focus-window-or-workspace-up = [];
|
||||
|
||||
# DMS Launcher integration (if you want a hotkey bound directly)
|
||||
"Mod+Space".action.spawn = [ "dms" "ipc" "call" "launcher" "toggle" ];
|
||||
};
|
||||
|
||||
# Window & Layer Rules (e.g. enable background blur for DMS components)
|
||||
# layer-rules = [
|
||||
# {
|
||||
# geometry-corner-radius = 12;
|
||||
# background-effect = {
|
||||
# blur = true;
|
||||
# };
|
||||
# }
|
||||
# ];
|
||||
};
|
||||
};
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, dms, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
||||
Reference in New Issue
Block a user