Replice cinnamon with cosmic for gamepc
This commit is contained in:
parent
74b049e56a
commit
186eac6896
3 changed files with 2 additions and 26 deletions
|
@ -5,7 +5,6 @@
|
||||||
}: {
|
}: {
|
||||||
config = {
|
config = {
|
||||||
pim = {
|
pim = {
|
||||||
cinnamon.enable = true;
|
|
||||||
sops-nix.usersWithSopsKeys = ["pim"];
|
sops-nix.usersWithSopsKeys = ["pim"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -32,6 +31,8 @@
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
|
displayManager.cosmic-greeter.enable = true;
|
||||||
|
desktopManager.cosmic.enable = true;
|
||||||
|
|
||||||
xserver.displayManager.lightdm.extraSeatDefaults = ''
|
xserver.displayManager.lightdm.extraSeatDefaults = ''
|
||||||
autologin-user=pim
|
autologin-user=pim
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
cfg = config.pim.cinnamon;
|
|
||||||
in {
|
|
||||||
options.pim.cinnamon.enable = lib.mkEnableOption "cinnamon";
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
services = {
|
|
||||||
displayManager.defaultSession = "cinnamon";
|
|
||||||
libinput.enable = true;
|
|
||||||
xserver = {
|
|
||||||
desktopManager.cinnamon.enable = true;
|
|
||||||
displayManager.lightdm.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.cinnamon.excludePackages = [
|
|
||||||
pkgs.gnome-terminal
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -18,7 +18,6 @@
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
./wireguard.nix
|
./wireguard.nix
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
./cinnamon.nix
|
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./desktop.nix
|
./desktop.nix
|
||||||
./server.nix
|
./server.nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue