diff options
-rw-r--r-- | machines/lithium.nix | 67 |
1 files changed, 11 insertions, 56 deletions
diff --git a/machines/lithium.nix b/machines/lithium.nix index bce497a..db73286 100644 --- a/machines/lithium.nix +++ b/machines/lithium.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: let - myIp = "68.107.97.20"; # hiddor-kahih + myIp = "68.107.97.20"; # hidor-kahih gitDir = "/srv/git"; in { @@ -72,12 +72,12 @@ in libvirtd.enable = true; virtualbox = { host = { - enable = true; + enable = false; headless = false; - addNetworkInterface = true; + addNetworkInterface = false; }; guest = { - enable = true; + enable = false; x11 = false; }; }; @@ -85,7 +85,7 @@ in services = { pcscd.enable = true; - logind = { + logind = { lidSwitch = "ignore"; extraConfig = "IdleAction=ignore"; }; @@ -111,53 +111,14 @@ in # background = "/home/ben/.background-image"; #}; - desktopManager = { - kodi.enable = true; - gnome3 = { - enable = true; - extraGSettingsOverridePackages = with pkgs; [ gnome3.gnome_settings_daemon ]; - extraGSettingsOverrides = '' - [org.gnome.desktop.screensaver] - lock-delay=3600 - lock-enabled=true' - - [org.gnome.desktop.session] - idle-delay=900 + xkbOptions = "caps:ctrl_modifier"; - [org.gnome.settings-daemon.plugins.power] - power-button-action='nothing' - idle-dim=true - sleep-inactive-battery-type='nothing' - sleep-inactive-ac-timeout=3600 - sleep-inactive-ac-type='nothing' - sleep-inactive-battery-timeout=1800 - ''; - }; - #xrandrHeads = [ - # { - # output = "HDMI1"; - # primary = true; - # monitorConfig = '' - # DisplaySize 1920x1080 - # ''; - # } - # #{ - # # output = "DP1"; - # # monitorConfig = '' - # # DisplaySize 1920x1080 - # # ''; - # #} - #]; - }; - }; + displayManager.sddm.enable = true; - redshift = { - enable = true; - latitude = "33.044444"; - longitude = "-117.271667"; - temperature = { - day = 4000; - night = 3500; + desktopManager = { + kodi.enable = true; + plasma5.enable = true; + xterm.enable = true; }; }; @@ -192,12 +153,6 @@ in user = "emby"; }; - # just for hero development - mysql = { - enable = true; - package = pkgs.mysql57; - }; - vnstat.enable = true; # security stuff |