add phone
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
./audio.nix
|
||||
./code.nix
|
||||
./sddm.nix
|
||||
./code-android.nix
|
||||
./awesome.nix
|
||||
./emulators.nix
|
||||
|
||||
@@ -23,11 +23,10 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
custom.graphical.sddm.enable = true;
|
||||
services = {
|
||||
displayManager = {
|
||||
defaultSession = "none+i3";
|
||||
sddm.enable = true;
|
||||
sddm.theme = "${pkgs.sddm-astronaut}";
|
||||
};
|
||||
|
||||
xserver = {
|
||||
|
||||
21
modules/graphical/sddm.nix
Normal file
21
modules/graphical/sddm.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let cfg = config.custom.graphical.sddm;
|
||||
in {
|
||||
|
||||
options = {
|
||||
custom.graphical.sddm.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable sddm";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services = {
|
||||
displayManager = {
|
||||
sddm.enable = true;
|
||||
sddm.theme = "${pkgs.sddm-astronaut}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -42,11 +42,15 @@ in
|
||||
id = "5T6Y3WO-FOQYYFQ-5MLNDSZ-7APIDUG-6KM2ZZM-RTRXMWX-MCZKLMH-BYNDJAQ";
|
||||
addresses = [ "tcp://192.168.2.22" ];
|
||||
};
|
||||
phone = {
|
||||
id = "XFQ7MV6-MKBYQXH-WGYVQUB-BYJJPFJ-HJTNZEP-PXWAMYY-DMADWSU-PQOTVAI";
|
||||
addresses = [ "tcp://192.168.0.15" "tcp://192.168.2.30" ];
|
||||
};
|
||||
};
|
||||
|
||||
folders."${basePath}/default" = {
|
||||
id = "default";
|
||||
devices = [ "kop-pc" "server" "laptop" "mini-pc" ];
|
||||
devices = [ "kop-pc" "server" "laptop" "mini-pc" "phone" ];
|
||||
ignorePerms = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user