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 = {
|
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="
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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; };
|
||||||
|
|
Loading…
Reference in a new issue