initial commit

This commit is contained in:
2026-04-19 14:58:51 -03:00
parent 3ac4eb5503
commit 5f85583bd0
32 changed files with 2222 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
{
config,
lib,
inputs,
pkgs,
...
}:
{
programs.dms-shell = {
enable = true;
package = inputs.dms.packages.${pkgs.stdenv.hostPlatform.system}.default;
#quickshell.package = inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.quickshell;
systemd = {
enable = true; # Systemd service for auto-start
restartIfChanged = true; # Auto-restart dms.service when dms-shell changes
};
plugins = {
dankBitwarden.enable = true;
dankKDEConnect.enable = true;
linuxWallpaperEngine.enable = true;
nvidiaGpuMonitor.enable = true;
};
# Core features
enableSystemMonitoring = true; # System monitoring widgets (dgop)
enableVPN = true; # VPN management widget
enableDynamicTheming = true; # Wallpaper-based theming (matugen)
enableAudioWavelength = true; # Audio visualizer (cava)
enableCalendarEvents = false; # Calendar integration (khal)
};
imports = [
inputs.dms.nixosModules.dank-material-shell
inputs.dms-plugin-registry.modules.default
inputs.dms.nixosModules.greeter
];
}
+88
View File
@@ -0,0 +1,88 @@
{
config,
lib,
inputs,
pkgs,
...
}:
{
nixpkgs.overlays = [ inputs.niri.overlays.niri ];
programs.niri = {
enable = true;
package = pkgs.niri-unstable;
};
imports = [
./thunar.nix
./dms.nix
#./noctalia.nix
];
services.dbus.enable = true;
security.polkit.enable = true;
systemd.user.services.niri-flake-polkit.enable = false;
programs.xwayland.enable = true;
programs.kdeconnect.enable = true;
services = {
greetd =
let
session = {
#command = "${pkgs.hyprland}/bin/Hyprland";
command = "${pkgs.niri}/bin/niri-session";
user = "gui";
};
in
{
enable = true;
settings = {
terminal.vt = 1;
default_session = session;
initial_session = session;
};
};
};
environment.systemPackages = with pkgs; [
dgop
];
#systemd.user.services.polkit-gnome-authentication-agent-1 = {
#description = "polkit-gnome-authentication-agent-1";
#wantedBy = [ "graphical-session.target" ];
#after = [ "graphical-session.target" ];
#serviceConfig = {
# Type = "simple";
# ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
# Restart = "on-failure";
# RestartSec = 1;
# TimeoutStopSec = 10;
#};
#};
#xdg.portal = {
# enable = true;
# config = {
# niri."org.freedesktop.impl.portal.FileChooser" = "gtk";
# niri.default = "gnome";
# common.default = "gnome";
# obs.default = "gnome";
# };
# extraPortals = with pkgs; [
# xdg-desktop-portal-gnome
# xdg-desktop-portal-gtk
# ];
#};
#xdg.portal = {
# enable = true;
# extraPortals = [
# pkgs.xdg-desktop-portal-gnome
# pkgs.xdg-desktop-portal-gtk
# pkgs.xdg-desktop-portal-wlr
# ];
# config.common.default = "*1";
#};
}
+13
View File
@@ -0,0 +1,13 @@
{ pkgs, inputs, ... }:
{
environment.systemPackages = with pkgs; [
inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default
];
nix.settings = {
extra-substituters = [ "https://noctalia.cachix.org" ];
extra-trusted-public-keys = [
"noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4="
];
};
}
+27
View File
@@ -0,0 +1,27 @@
{
config,
lib,
inputs,
pkgs,
...
}:
{
programs.xfconf.enable = true;
programs.thunar = {
enable = true;
plugins = with pkgs; [
thunar-archive-plugin
thunar-vcs-plugin
thunar-volman
];
};
services = {
gvfs.enable = true;
tumbler.enable = true;
};
}