Compare commits

..

No commits in common. "4f2a9a71a6adfb09a167117ada41e9c6b06a8bf8" and "e85eda80353804a424cd60b817d06106f76e5ab6" have entirely different histories.

5 changed files with 75 additions and 90 deletions

View File

@ -98,7 +98,7 @@
dub dub
]); ]);
editor.emacs.enable = true; editor.emacs.enable = false;
}; };
xdg.desktopEntries.brave-browser = xdg.desktopEntries.brave-browser =

View File

@ -103,8 +103,7 @@ in
"/run/udev" "/run/udev"
"/run/pipewire" "/run/pipewire"
"/run/pulse"
"/sys/class" "/sys/class"
"/sys/devices" "/sys/devices"

View File

@ -1,19 +1,12 @@
{ { config, pkgs, lib, ... }:
config,
pkgs,
lib,
...
}:
let let
plasma-materus = pkgs.writeScript "plasma-materus" '' plasma-materus = pkgs.writeScript "plasma-materus" ''
export KWIN_DRM_DEVICES="/dev/dri/by-path/pci-0000\:53\:00.0-card" export KWIN_DRM_DEVICES="/dev/dri/by-path/pci-0000\:53\:00.0-card"
${pkgs.kdePackages.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland ${pkgs.kdePackages.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland
''; '';
westonSddm =
let westonSddm = let xcfg = config.services.xserver; in pkgs.writeText "weston.ini"
xcfg = config.services.xserver; ''
in
pkgs.writeText "weston.ini" ''
[core] [core]
xwayland=false xwayland=false
shell=fullscreen-shell.so shell=fullscreen-shell.so
@ -44,7 +37,7 @@ let
in in
{ {
services.displayManager.defaultSession = "plasma-materus"; services.displayManager.defaultSession = "plasma-materus";
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true; services.displayManager.sddm.wayland.enable = true;
services.displayManager.sddm.wayland.compositor = lib.mkForce "weston"; services.displayManager.sddm.wayland.compositor = lib.mkForce "weston";
@ -54,20 +47,16 @@ in
"-c ${westonSddm}" "-c ${westonSddm}"
]; ];
services.displayManager.sessionPackages = [ services.displayManager.sessionPackages = [
( ((pkgs.writeTextDir "share/wayland-sessions/plasma-materus.desktop" ''
(pkgs.writeTextDir "share/wayland-sessions/plasma-materus.desktop" '' [Desktop Entry]
[Desktop Entry] Name=Plasma (Wayland Materus)
Name=Plasma (Wayland Materus) Comment=Plasma Desktop with KWIN_DRM_DEVICES env
Comment=Plasma Desktop with KWIN_DRM_DEVICES env Exec=${plasma-materus}
Exec=${plasma-materus} DesktopNames=KDE
DesktopNames=KDE Type=Application
Type=Application '')
'').overrideAttrs .overrideAttrs (_: {passthru.providedSessions = ["plasma-materus"];}))
(_: { ];
passthru.providedSessions = [ "plasma-materus" ];
})
)
];
services.displayManager.sddm.settings = { services.displayManager.sddm.settings = {
General = { General = {

View File

@ -55,7 +55,6 @@ let
open-vsx.eamodio.gitlens open-vsx.eamodio.gitlens
#Other #Other
open-vsx.asciidoctor.asciidoctor-vscode
open-vsx.ms-azuretools.vscode-docker open-vsx.ms-azuretools.vscode-docker
open-vsx.webfreak.debug open-vsx.webfreak.debug
open-vsx.mkhl.direnv open-vsx.mkhl.direnv

114
flake.lock generated
View File

@ -159,11 +159,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1749806554, "lastModified": 1749232178,
"narHash": "sha256-mvvQ8dcGJTmUfudSD8i0Wd4uiQpjcKjDPX9ruEbYK2k=", "narHash": "sha256-pekC+SuqoHkoYPuWhC1aADCIP0cD3tvemu4WOF/JMUY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "d2fb39a8ecf7610891cbc64cff05588308c5166a", "rev": "f6850858f78e2b6328f6e8bb7bf9df10dd0b7973",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -182,11 +182,11 @@
"nixpkgs-stable": "nixpkgs-stable_2" "nixpkgs-stable": "nixpkgs-stable_2"
}, },
"locked": { "locked": {
"lastModified": 1749806554, "lastModified": 1749232178,
"narHash": "sha256-mvvQ8dcGJTmUfudSD8i0Wd4uiQpjcKjDPX9ruEbYK2k=", "narHash": "sha256-pekC+SuqoHkoYPuWhC1aADCIP0cD3tvemu4WOF/JMUY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "d2fb39a8ecf7610891cbc64cff05588308c5166a", "rev": "f6850858f78e2b6328f6e8bb7bf9df10dd0b7973",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -458,11 +458,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1749821119, "lastModified": 1749243446,
"narHash": "sha256-X3WAS322EsebI4ohJcXhKpiyG1v+7wE4VOiXy1pxM/c=", "narHash": "sha256-P1gumhZN5N9q+39ndePHYrtwOwY1cGx+VoXGl+vTm7A=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "79dfd9aa295e53773aad45480b44c131da29f35b", "rev": "2d7d65f65b61fdfce23278e59ca266ddd0ef0a36",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -477,12 +477,11 @@
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1749821119, "lastModified": 1747688870,
"narHash": "sha256-X3WAS322EsebI4ohJcXhKpiyG1v+7wE4VOiXy1pxM/c=", "narHash": "sha256-ypL9WAZfmJr5V70jEVzqGjjQzF0uCkz+AFQF7n9NmNc=",
"owner": "nix-community", "path": "/nix/store/dimhhb7nhymgd9f35ajdzf6xkij6rsh8-source",
"repo": "home-manager", "rev": "d5f1f641b289553927b3801580598d200a501863",
"rev": "79dfd9aa295e53773aad45480b44c131da29f35b", "type": "path"
"type": "github"
}, },
"original": { "original": {
"id": "home-manager", "id": "home-manager",
@ -501,11 +500,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1749780284, "lastModified": 1749175351,
"narHash": "sha256-at8sCy3IXlgo1zV0j0Wowhn/dHXqBkb2huSdJ2Jt+mo=", "narHash": "sha256-TIOk5mBsbs/HBYkgnU/trAjmxAO50OTHZkSdMvvAGok=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "6ec5e3e4a11887ae47d55ece1b83a0ed8082cddf", "rev": "832bd4f14d5a64df323b456132c33c572e7f0c75",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -527,11 +526,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1749780284, "lastModified": 1749175351,
"narHash": "sha256-at8sCy3IXlgo1zV0j0Wowhn/dHXqBkb2huSdJ2Jt+mo=", "narHash": "sha256-TIOk5mBsbs/HBYkgnU/trAjmxAO50OTHZkSdMvvAGok=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "6ec5e3e4a11887ae47d55ece1b83a0ed8082cddf", "rev": "832bd4f14d5a64df323b456132c33c572e7f0c75",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -597,11 +596,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1749808356, "lastModified": 1749195551,
"narHash": "sha256-VQ2HFRVz0VxjYYFtdRTlAq/PuOT+j876YTWubk0WLJM=", "narHash": "sha256-W5GKQHgunda/OP9sbKENBZhMBDNu2QahoIPwnsF6CeM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "b328aa7871068d9f98b656d8f6829b39a541a114", "rev": "4602f7e1d3f197b3cb540d5accf5669121629628",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -613,11 +612,11 @@
}, },
"nixos-hardware_2": { "nixos-hardware_2": {
"locked": { "locked": {
"lastModified": 1749808356, "lastModified": 1749195551,
"narHash": "sha256-VQ2HFRVz0VxjYYFtdRTlAq/PuOT+j876YTWubk0WLJM=", "narHash": "sha256-W5GKQHgunda/OP9sbKENBZhMBDNu2QahoIPwnsF6CeM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "b328aa7871068d9f98b656d8f6829b39a541a114", "rev": "4602f7e1d3f197b3cb540d5accf5669121629628",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -645,11 +644,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1749668643, "lastModified": 1748995628,
"narHash": "sha256-gaWJEWGBW/g1u6o5IM4Un0vluv86cigLuBnjsKILffc=", "narHash": "sha256-bFufQGSAEYQgjtc4wMrobS5HWN0hDP+ZX+zthYcml9U=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1965fd20a39c8e441746bee66d550af78f0c0a7b", "rev": "8eb3b6a2366a7095939cd22f0dc0e9991313294b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -661,11 +660,11 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1749668643, "lastModified": 1748995628,
"narHash": "sha256-gaWJEWGBW/g1u6o5IM4Un0vluv86cigLuBnjsKILffc=", "narHash": "sha256-bFufQGSAEYQgjtc4wMrobS5HWN0hDP+ZX+zthYcml9U=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1965fd20a39c8e441746bee66d550af78f0c0a7b", "rev": "8eb3b6a2366a7095939cd22f0dc0e9991313294b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -677,11 +676,11 @@
}, },
"nixpkgs-stable_3": { "nixpkgs-stable_3": {
"locked": { "locked": {
"lastModified": 1749727998, "lastModified": 1749086602,
"narHash": "sha256-mHv/yeUbmL91/TvV95p+mBVahm9mdQMJoqaTVTALaFw=", "narHash": "sha256-DJcgJMekoxVesl9kKjfLPix2Nbr42i7cpEHJiTnBUwU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fd487183437963a59ba763c0cc4f27e3447dd6dd", "rev": "4792576cb003c994bd7cc1edada3129def20b27d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -741,27 +740,27 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1749285348, "lastModified": 1746055187,
"narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=", "narHash": "sha256-3dqArYSMP9hM7Qpy5YWhnSjiqniSaT2uc5h2Po7tmg0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f", "rev": "3e362ce63e16b9572d8c2297c04f7c19ab6725a5",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-unstable", "ref": "nixos-24.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1749285348, "lastModified": 1749143949,
"narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=", "narHash": "sha256-QuUtALJpVrPnPeozlUG/y+oIMSLdptHxb3GK6cpSVhA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f", "rev": "d3d2d80a2191a73d1e86456a751b83aa13085d7d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -773,11 +772,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1749285348, "lastModified": 1741173522,
"narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=", "narHash": "sha256-k7VSqvv0r1r53nUI/IfPHCppkUAddeXn843YlAC5DR0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f", "rev": "d69ab0d71b22fa1ce3dbeff666e6deb4917db049",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -872,12 +871,11 @@
"treefmt-nix": "treefmt-nix_5" "treefmt-nix": "treefmt-nix_5"
}, },
"locked": { "locked": {
"lastModified": 1749820497, "lastModified": 1741294988,
"narHash": "sha256-l6gXEHXGZxsvOZylT4oWqw1syKtcKfnZMQ9wtR4PwSc=", "narHash": "sha256-3408u6q615kVTb23WtDriHRmCBBpwX7iau6rvfipcu4=",
"owner": "nix-community", "path": "/nix/store/hfzv9pkm0c6hzvkav8ii476s4cx9nph3-source",
"repo": "NUR", "rev": "b30c245e2c44c7352a27485bfd5bc483df660f0e",
"rev": "7c388148972b182ef27bddff0f36c515011b3dfe", "type": "path"
"type": "github"
}, },
"original": { "original": {
"id": "nur", "id": "nur",
@ -972,11 +970,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1749592509, "lastModified": 1747603214,
"narHash": "sha256-VunQzfZFA+Y6x3wYi2UE4DEQ8qKoAZZCnZPUlSoqC+A=", "narHash": "sha256-lAblXm0VwifYCJ/ILPXJwlz0qNY07DDYdLD+9H+Wc8o=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "50754dfaa0e24e313c626900d44ef431f3210138", "rev": "8d215e1c981be3aa37e47aeabd4e61bb069548fd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -994,11 +992,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1749592509, "lastModified": 1747603214,
"narHash": "sha256-VunQzfZFA+Y6x3wYi2UE4DEQ8qKoAZZCnZPUlSoqC+A=", "narHash": "sha256-lAblXm0VwifYCJ/ILPXJwlz0qNY07DDYdLD+9H+Wc8o=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "50754dfaa0e24e313c626900d44ef431f3210138", "rev": "8d215e1c981be3aa37e47aeabd4e61bb069548fd",
"type": "github" "type": "github"
}, },
"original": { "original": {