finished configuring greetd
This commit is contained in:
parent
dd2c06dba5
commit
eddaf3c010
2 changed files with 54 additions and 28 deletions
|
|
@ -1,22 +1,47 @@
|
|||
{ specialArgs, inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
console.colors = [
|
||||
"002b36"
|
||||
"dc322f"
|
||||
"859900"
|
||||
"b58900"
|
||||
"268bd2"
|
||||
"d33682"
|
||||
"2aa198"
|
||||
"eee8d5"
|
||||
"002b36"
|
||||
"cb4b16"
|
||||
"586e75"
|
||||
"657b83"
|
||||
"839496"
|
||||
"6c71c4"
|
||||
"93a1a1"
|
||||
"fdf6e3"
|
||||
console = {
|
||||
keyMap = "us";
|
||||
earlySetup = true;
|
||||
colors = [
|
||||
"2E3440"
|
||||
"3B4252"
|
||||
"434C5E"
|
||||
"4C566A"
|
||||
"D8DEE9"
|
||||
"E5E9F0"
|
||||
"ECEFF4"
|
||||
"8FBCBB"
|
||||
"88C0D0"
|
||||
"81A1C1"
|
||||
"5E81AC"
|
||||
"BF616A"
|
||||
"D08770"
|
||||
"EBCB8B"
|
||||
"A3BE8C"
|
||||
"B48EAD"
|
||||
];
|
||||
};
|
||||
|
||||
i18n = {
|
||||
consoleColors = [
|
||||
"2E3440"
|
||||
"3B4252"
|
||||
"434C5E"
|
||||
"4C566A"
|
||||
"D8DEE9"
|
||||
"E5E9F0"
|
||||
"ECEFF4"
|
||||
"8FBCBB"
|
||||
"88C0D0"
|
||||
"81A1C1"
|
||||
"5E81AC"
|
||||
"BF616A"
|
||||
"D08770"
|
||||
"EBCB8B"
|
||||
"A3BE8C"
|
||||
"B48EAD"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
{ specialArgs, inputs, config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
plasma = pkgs.writeScriptBin "plasma" ''
|
||||
${pkgs.plasma-workspace}/bin/startplasma-wayland &> /dev/null
|
||||
'';
|
||||
in
|
||||
|
||||
{
|
||||
services = {
|
||||
printing.enable = true;
|
||||
|
|
@ -40,17 +46,12 @@
|
|||
greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --time --greeting \"Welcome to Nix\" --cmd ${pkgs.plasma-workspace}/bin/startplasma-wayland";
|
||||
# initial_session = {
|
||||
# command = "${pkgs.plasma-workspace}/bin/startplasma-wayland";
|
||||
# user = "user";
|
||||
# };
|
||||
default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --user-menu --asterisks --time --greeting \"Welcome to NixOS\" --cmd ${plasma}/bin/plasma";
|
||||
initial_session = {
|
||||
command = "${plasma}/bin/plasma";
|
||||
user = "user";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.etc."greetd/environments".text = ''
|
||||
startplasma-wayland
|
||||
fish
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue