+dms draft

This commit is contained in:
2026-06-01 19:34:16 +02:00
parent 91e2814629
commit 06815b1bd8
6 changed files with 271 additions and 236 deletions
+13 -1
View File
@@ -32,8 +32,9 @@
# Please also change your hostname accordingly:
#:w
# networking.hostName = "nixos"; # Define your hostname.
{
{inputs, ...}: {
imports = [
inputs.dms-plugin-registry.modules.default
../common
./configuration.nix
./hardware.nix
@@ -55,4 +56,15 @@
};
# rocmOverrideGfx = "11.0.3";
};
programs.dms-shell = {
enable = true;
enableDynamicTheming = true;
enableClipboardPaste = true;
plugins = {
dankBatteryAlerts.enable = true;
emojiLauncher.enable = true;
dankPomodoroTimer.enable = true;
dankVault.enable = true;
};
};
}
+6 -3
View File
@@ -52,7 +52,6 @@ with lib; {
wayland.windowManager.hyprland = {
enable = true;
settings = {
source = "~/.config/hypr/monitors.conf";
workspace = [
"1, monitor:eDP-1, default:true"
"2, monitor:eDP-1"
@@ -74,8 +73,12 @@ with lib; {
];
device = lib.mkForce [
{
name = "epic-mouse-v1";
sensitivity = -0.5;
name = "keychron-keychron-k7";
kb_layout = "us";
}
{
name = "keychron-keychron-k7-1";
kb_layout = "us";
}
{
name = "keychron-keychron-k7-2";
+1 -1
View File
@@ -1,6 +1,7 @@
{pkgs, ...}: {
imports = [
# ./ad.nix
./greetd.nix
./mem0.nix
./n8n.nix
./netbird.nix
@@ -39,6 +40,5 @@
enable = true;
};
desktopManager.gnome.enable = true;
displayManager.gdm.enable = true;
};
}
+36
View File
@@ -0,0 +1,36 @@
{
pkgs,
config,
lib,
...
}: let
tuigreet = "${lib.getExe pkgs.tuigreet}";
# Use start-hyprland wrapper to avoid Hyprland startup warnings
# withUWSM=true is set in programs.nix; start-hyprland handles this correctly
hyprlandCmd = "${config.programs.hyprland.package}/bin/start-hyprland";
in {
services.greetd = {
enable = true;
settings = {
default_session = {
user = "greeter";
# Minimal config: verified supported flags only
# The --time and --remember are tested; power commands omitted
# to avoid potential quoting/parsing issues
command = builtins.concatStringsSep " " [
tuigreet
"--time"
"--remember"
"--asterisks"
"--cmd ${hyprlandCmd}"
];
};
};
};
# Required for --remember to persist username between logins
systemd.tmpfiles.rules = [
"d /var/cache/tuigreet 0755 greeter greeter - -"
];
}