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 = { nix = {
settings = { settings = {
substituters = substituters =
[ "https://nix-community.cachix.org" "https://cosmic.cachix.org/" ]; [ "https://nix-community.cachix.org" ];
trusted-public-keys = [ trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
]; ];
}; };
}; };

View file

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