m 2: mv base-gui gui/base
This commit is contained in:
parent
d92281cf4d
commit
1ec9f84c65
@ -7,7 +7,7 @@
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
../.
|
||||
../2configs/base-gui.nix
|
||||
../2configs/gui/base.nix
|
||||
../2configs/fs/sda-crypto-root.nix
|
||||
# hardware specifics are in here
|
||||
../2configs/hw/tp-x200.nix #< imports tp-x2x0.nix
|
||||
|
@ -1,14 +1,14 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
let
|
||||
rootdisk = "/dev/disk/by-id/ata-TS256GMTS800_C613840115";
|
||||
datadisk = "/dev/disk/by-id/ata-HGST_HTS721010A9E630_JR10006PH3A02F";
|
||||
user = config.makefu.gui.user;
|
||||
in {
|
||||
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
../.
|
||||
../2configs/zsh-user.nix
|
||||
../2configs/base-gui.nix
|
||||
../2configs/tools/core.nix
|
||||
../2configs/tools/core-gui.nix
|
||||
../2configs/tools/extra-gui.nix
|
||||
@ -17,6 +17,10 @@ in {
|
||||
../2configs/tinc/retiolum.nix
|
||||
../2configs/mqtt.nix
|
||||
../2configs/deployment/led-fader.nix
|
||||
# ../2configs/gui/wbob-kiosk.nix
|
||||
|
||||
../2configs/gui/studio.nix
|
||||
../2configs/vncserver.nix
|
||||
];
|
||||
|
||||
krebs = {
|
||||
@ -26,22 +30,6 @@ in {
|
||||
|
||||
swapDevices = [ { device = "/var/swap"; } ];
|
||||
|
||||
services.xserver = {
|
||||
layout = lib.mkForce "de";
|
||||
|
||||
windowManager = lib.mkForce {
|
||||
awesome.enable = false;
|
||||
default = "none";
|
||||
};
|
||||
desktopManager.xfce.enable = true;
|
||||
|
||||
# xrandrHeads = [ "HDMI1" "HDMI2" ];
|
||||
# prevent screen from turning off, disable dpms
|
||||
displayManager.sessionCommands = ''
|
||||
xset s off -dpms
|
||||
xrandr --output HDMI2 --right-of HDMI1
|
||||
'';
|
||||
};
|
||||
|
||||
networking.firewall.allowedUDPPorts = [ 655 ];
|
||||
networking.firewall.allowedTCPPorts = [ 655 49152 ];
|
||||
@ -88,7 +76,7 @@ in {
|
||||
# TODO: add crypto layer
|
||||
systemd.services."synergy-client" = {
|
||||
environment.DISPLAY = ":0";
|
||||
serviceConfig.User = "makefu";
|
||||
serviceConfig.User = user;
|
||||
};
|
||||
|
||||
services.synergy = {
|
||||
|
@ -65,7 +65,7 @@ in
|
||||
cat |derp <<EOF
|
||||
XTerm*background: black
|
||||
XTerm*foreground: white
|
||||
XTerm*FaceName : xft:xos4 Terminus:pixelsize=14
|
||||
XTerm*FaceName : xft:xos4 Terminus:pixelsize=11
|
||||
|
||||
URxvt*termName: rxvt
|
||||
URxvt*saveLines: 10000
|
||||
@ -77,7 +77,7 @@ in
|
||||
URxvt.background: black
|
||||
URxvt.urgentOnBell: true
|
||||
URxvt.visualBell: false
|
||||
URxvt.font : xft:xos4 Terminus:size=12
|
||||
URxvt.font : xft:xos4 Terminus:size=11
|
||||
|
||||
|
||||
! blue
|
22
makefu/2configs/gui/studio.nix
Normal file
22
makefu/2configs/gui/studio.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
user = config.makefu.gui.user;
|
||||
in
|
||||
{
|
||||
services.xserver.enable = true;
|
||||
services.xserver.displayManager.sddm = {
|
||||
enable = true;
|
||||
autoLogin.enable = true;
|
||||
autoLogin.user = user;
|
||||
};
|
||||
# services.xserver.windowMananger.default = "plasma5";
|
||||
services.xserver.desktopManager = {
|
||||
default = "plasma5";
|
||||
plasma5.enable = true;
|
||||
};
|
||||
|
||||
services.xserver.layout = "us";
|
||||
services.xserver.xkbVariant = "altgr-intl";
|
||||
services.xserver.xkbOptions = "ctrl:nocaps";
|
||||
|
||||
}
|
23
makefu/2configs/gui/wbob-kiosk.nix
Normal file
23
makefu/2configs/gui/wbob-kiosk.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
./base.nix
|
||||
];
|
||||
services.xserver = {
|
||||
layout = lib.mkForce "de";
|
||||
|
||||
windowManager = lib.mkForce {
|
||||
awesome.enable = false;
|
||||
default = "none";
|
||||
};
|
||||
desktopManager.xfce.enable = true;
|
||||
|
||||
# xrandrHeads = [ "HDMI1" "HDMI2" ];
|
||||
# prevent screen from turning off, disable dpms
|
||||
displayManager.sessionCommands = ''
|
||||
xset s off -dpms
|
||||
xrandr --output HDMI2 --right-of HDMI1
|
||||
'';
|
||||
};
|
||||
}
|
@ -11,7 +11,7 @@ let
|
||||
user = config.krebs.build.user.name;
|
||||
in {
|
||||
imports = [
|
||||
./base-gui.nix
|
||||
./gui/base.nix
|
||||
./fetchWallpaper.nix
|
||||
./zsh-user.nix
|
||||
./tools/core.nix
|
||||
|
Loading…
Reference in New Issue
Block a user