Skip to content

Commit

Permalink
move greetd to nixosModules
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunsingh committed Nov 18, 2023
1 parent 47ce61e commit c270f26
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
11 changes: 11 additions & 0 deletions hosts/c1/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,15 @@ in
glxinfo
vulkan-tools
];

services.greetd = {
enable = true;
settings = {
default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd 'sway --unsupported-gpu'";
initial_session = {
command = "sway --unsupported-gpu";
user = "shaurizard";
};
};
};
}
12 changes: 0 additions & 12 deletions users/shaurizard/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1069,18 +1069,6 @@
Install.WantedBy = [ "graphical-session.target" ];
};

### -- login
services.greetd = {
enable = true;
settings = {
default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd 'sway --unsupported-gpu'";
initial_session = {
command = "sway --unsupported-gpu";
user = "shaurizard";
};
};
};

### -- sleep
services.swayidle =
let
Expand Down

0 comments on commit c270f26

Please sign in to comment.