adding cosmic cachix
This commit is contained in:
parent
c0b37ba842
commit
3e7b60405d
12
modules/cachix/cosmic.nix
Normal file
12
modules/cachix/cosmic.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
nix = {
|
||||
settings = {
|
||||
substituters = [
|
||||
"https://cosmic.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
# 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";
|
||||
};
|
||||
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";
|
||||
};
|
||||
};
|
||||
# user = "chris";
|
||||
# };
|
||||
# hyprland_session = {
|
||||
# command = "Hyprland";
|
||||
# user = "chris";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
programs.regreet = { enable = true; };
|
||||
|
|
Loading…
Reference in a new issue