adding cosmic cachix

This commit is contained in:
Chris Cochrun 2024-11-12 21:32:55 -06:00
parent c0b37ba842
commit 3e7b60405d
3 changed files with 37 additions and 27 deletions

12
modules/cachix/cosmic.nix Normal file
View file

@ -0,0 +1,12 @@
{
nix = {
settings = {
substituters = [
"https://cosmic.cachix.org"
];
trusted-public-keys = [
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
];
};
};
}

View file

@ -2,10 +2,9 @@
nix = {
settings = {
substituters =
[ "https://nix-community.cachix.org" "https://cosmic.cachix.org/" ];
[ "https://nix-community.cachix.org" ];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
];
};
};

View file

@ -28,6 +28,7 @@
boot.supportedFilesystems = [ "ntfs" ];
services = {
desktopManager.cosmic.enable = true;
desktopManager.plasma6 = {
enable = true;
# runUsingSystemd = true;
@ -89,34 +90,32 @@
swaylock = { };
};
# services.displayManager.sddm = {
# enable = false;
# theme = "${pkgs.elegant-sddm}";
# wayland.enable = true;
# };
services.displayManager.cosmic-greeter = {
enable = false;
};
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "dbus-run-session Hyprland";
# command = "dbus-run-session startplasma-wayland";
user = "chris";
};
default_session = {
command =
"${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd 'dbus-run-session Hyprland' -s /etc/greetd/environments";
user = "greeter";
};
plasma_session = {
command = "dbus-run-session startplasma-wayland";
user = "chris";
};
hyprland_session = {
command = "Hyprland";
user = "chris";
};
};
# settings = rec {
# initial_session = {
# command = "dbus-run-session Hyprland";
# # command = "dbus-run-session startplasma-wayland";
# user = "chris";
# };
# default_session = {
# command =
# "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd 'dbus-run-session Hyprland' -s /etc/greetd/environments";
# user = "greeter";
# };
# plasma_session = {
# command = "dbus-run-session startplasma-wayland";
# user = "chris";
# };
# hyprland_session = {
# command = "Hyprland";
# user = "chris";
# };
# };
};
programs.regreet = { enable = true; };