cleanup
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
./cosmic
|
||||
./dms
|
||||
./gnome
|
||||
# ./hyprland
|
||||
# ./niri
|
||||
# ./plasma
|
||||
];
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
perSystem,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
inherit (perSystem) hyprland;
|
||||
cfg = config.desktop.hyprland;
|
||||
in {
|
||||
options = {
|
||||
desktop.hyprland.enable =
|
||||
mkEnableOption "enable hyprland desktop";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
module.desktop.displayManager = "greetd";
|
||||
module.desktop.gnome-keyring.enable = true;
|
||||
sound.pipewire.enable = true;
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = hyprland.hyprland;
|
||||
portalPackage = hyprland.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
security.pam.services.hyprlock = {};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
hyprland.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
config.hyprland.default = ["hyprland" "gtk"];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -5,7 +5,6 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# inputs.chaotic.nixosModules.default
|
||||
./slim.nix
|
||||
./uutils.nix
|
||||
];
|
||||
|
||||
@@ -2,14 +2,12 @@
|
||||
nix.settings = {
|
||||
substituters = [
|
||||
"https://cache.nixos.org/"
|
||||
"https://chaotic-nyx.cachix.org/"
|
||||
"https://cosmic.cachix.org/"
|
||||
"https://nix-community.cachix.org/"
|
||||
"https://vicinae.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
||||
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"vicinae.cachix.org-1:1kDrfienkGHPYbkpNj1mWTr7Fm1+zcenzgTizIcI3oc="
|
||||
|
||||
Reference in New Issue
Block a user