this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 31 lines 632 B view raw
1{ 2 config, 3 lib, 4 pkgs, 5 ... 6}: { 7 options.cow.tty = { 8 enable = lib.mkEnableOption "make TTY kmscon with optional auto-login"; 9 autoLogin = lib.mkEnableOption "autologin for bean if bean is enabled, else root"; 10 }; 11 12 config = lib.mkIf config.cow.tty.enable { 13 services.getty.autologinUser = lib.mkIf config.cow.tty.autoLogin ( 14 lib.mkForce ( 15 if config.cow.bean.enable 16 then "bean" 17 else "root" 18 ) 19 ); 20 21 services.kmscon = { 22 enable = true; 23 fonts = [ 24 { 25 name = "Maple Mono"; 26 package = pkgs.maple-mono.NF-CN; 27 } 28 ]; 29 }; 30 }; 31}