miku: Enable Plasma

This commit is contained in:
PapaTutuWawa 2022-07-13 19:35:32 +02:00
parent df1043ee38
commit 65c9e0babc
4 changed files with 43 additions and 33 deletions

View File

@ -24,11 +24,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1656413262, "lastModified": 1657362523,
"narHash": "sha256-I8X1LaW/qoSWeBLK0N8GPOshIuXG9zyNyZUtKZYa0h4=", "narHash": "sha256-hoYYqpCKsuHqYwMnK9lcUYHnuf5OaDFPqCt/RavKsRw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "8772891c73e2809df5e5469d14535ea77e123d3e", "rev": "e1c34ef6f6eb7d966af5011eeeec6342017cd535",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -60,11 +60,11 @@
}, },
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656065134, "lastModified": 1656928814,
"narHash": "sha256-oc6E6ByIw3oJaIyc67maaFcnjYOz1mMcOtHxbEf9NwQ=", "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "bee6a7250dd1b01844a2de7e02e4df7d8a0a206c", "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -75,11 +75,11 @@
}, },
"flake-utils_2": { "flake-utils_2": {
"locked": { "locked": {
"lastModified": 1656065134, "lastModified": 1656928814,
"narHash": "sha256-oc6E6ByIw3oJaIyc67maaFcnjYOz1mMcOtHxbEf9NwQ=", "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "bee6a7250dd1b01844a2de7e02e4df7d8a0a206c", "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -154,11 +154,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1656367977, "lastModified": 1657241847,
"narHash": "sha256-0hV17V9Up9pnAtPJ+787FhrsPnawxoTPA/VxgjRMrjc=", "narHash": "sha256-/aN3p2LaRNVXf7w92GWgXq9H5f23YRQPOvsm3BrBqzU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3bf16c0fd141c28312be52945d1543f9ce557bb1", "rev": "8160b3b45b8457d58d2b3af2aeb2eb6f47042e0f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -304,11 +304,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1656353817, "lastModified": 1656933710,
"narHash": "sha256-UJEzMQcft/0Ilu4LWV7UH51mr5UCo28GL06BGO+djv4=", "narHash": "sha256-SVG8EqY1OTJWBRY4hpct2ZR2Rk0L8hCFkug3m0ABoZE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "78e7c2c397b0376526e83162b58de921362e3399", "rev": "3bf48d3587d3f34f745a19ebc968b002ef5b5c5a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -337,8 +337,8 @@
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 0, "lastModified": 0,
"narHash": "sha256-nv4FfWWV/dEelByjXJtJkoDPOHIsKfLq50RN3Hqq5Yk=", "narHash": "sha256-rlmmw6lIlkMQIiB+NsnO8wQYWTfle8TA41UREPLP5VY=",
"path": "/nix/store/lyv9kw3jv8dwp7lr5ik22k3w01rf24w2-source", "path": "/nix/store/8mik2m5inkjin29v5gv5zc2jji4lab3l-source",
"type": "path" "type": "path"
}, },
"original": { "original": {
@ -396,11 +396,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1656461576, "lastModified": 1657265485,
"narHash": "sha256-rlmmw6lIlkMQIiB+NsnO8wQYWTfle8TA41UREPLP5VY=", "narHash": "sha256-PUQ9C7mfi0/BnaAUX2R/PIkoNCb/Jtx9EpnhMBNrO/o=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cf3ab54b4afe2b7477faa1dd0b65bf74c055d70c", "rev": "b39924fc7764c08ae3b51beef9a3518c414cdb7d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -499,11 +499,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1656611551, "lastModified": 1657372868,
"narHash": "sha256-S1GkwCgMimVVU1nrwezTkoOqsoiXvvK1+pu4zplsqwo=", "narHash": "sha256-yXzNQRlQMCYJJn4fA+zZNj3W0t9w+WDeCKG7D86YkTE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "b58e819d423cc525475b43bd06cf5f999feb5325", "rev": "38f00cf4ee1dab9c10883b1d464486f0c040bb80",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -51,12 +51,12 @@
spotify-wrapped spotify-wrapped
zoom-vm zoom-vm
lapce #lapce
]; ];
ptw = { ptw = {
programs = { programs = {
bluray.enable = true; #bluray.enable = true;
mpv = { mpv = {
primaryScreen = "C27F398"; primaryScreen = "C27F398";
enable = true; enable = true;
@ -81,15 +81,15 @@
}; };
services = { services = {
gamemode.enable = true; gamemode.enable = true;
gnome.enable = true; #gnome.enable = true;
logiops.enable = true; logiops.enable = true;
input-remapper = { input-remapper = {
enable = true; enable = true;
postStartCommand = "${pkgs.input-remapper}/bin/input-remapper-control --command start --preset NOOP --device \"Razer Razer Tartarus V2\""; postStartCommand = "${pkgs.input-remapper}/bin/input-remapper-control --command start --preset NOOP --device \"Razer Razer Tartarus V2\"";
}; };
gdm = { #gdm = {
enable = true; # enable = true;
}; #};
}; };
system = { system = {
i18n.enable = true; i18n.enable = true;
@ -183,6 +183,7 @@
}; };
# TODO: Move into modules # TODO: Move into modules
/*
systemd = { systemd = {
services = { services = {
enable-vendor-reset = { enable-vendor-reset = {
@ -217,4 +218,5 @@
}; };
}; };
}; };
*/
} }

View File

@ -17,11 +17,19 @@ in {
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
security.pam.services = {
login.enableKwallet = true;
greetd.enableKwallet = true;
};
services.xserver = { services.xserver = {
displayManager.sddm = {
enable = true;
autoNumlock = true;
};
desktopManager.plasma5 = { desktopManager.plasma5 = {
enable = true; enable = true;
runUsingSystemd = true; #runUsingSystemd = true;
supportDDC = true; #supportDDC = true;
mobile.enable = cfg.mobile.enable; mobile.enable = cfg.mobile.enable;
/* /*

View File

@ -98,7 +98,8 @@ final: prev:
''; '';
}); });
/* # See https://github.com/NixOS/nixpkgs/issues/171320
# Fixes XWayland crashing after a resume.
xwayland = prev.xwayland.overrideAttrs (old: rec { xwayland = prev.xwayland.overrideAttrs (old: rec {
version = "21.1.4"; version = "21.1.4";
src = prev.fetchurl { src = prev.fetchurl {
@ -106,7 +107,6 @@ final: prev:
sha256 = "sha256-GfZ5XzHPqOs1Kx5bPDefIu5gIOmHAf8sxnnajE8RWfc="; sha256 = "sha256-GfZ5XzHPqOs1Kx5bPDefIu5gIOmHAf8sxnnajE8RWfc=";
}; };
}); });
*/
# See # See
# https://github.com/NixOS/nixpkgs/commit/2bf8d8c0162507d08f9fc48e36ce7225f4879bd4 # https://github.com/NixOS/nixpkgs/commit/2bf8d8c0162507d08f9fc48e36ce7225f4879bd4