added ncmpcpp

This commit is contained in:
Charlie Root 2024-04-13 00:15:21 +02:00
commit ef91a2a87c
8 changed files with 641 additions and 21 deletions

View file

@ -1,10 +1,12 @@
{ pkgs, lib, config, callPackage, ... }:
with lib; let
cfg = config.myOptions.programs.i3;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.i3.enable = mkEnableOption "i3";
config = mkIf cfg.enable {
home-manager.users.${username}.xdg.configFile."i3/config".source = ./config;
services.xserver = {
enable = true;
xkb.layout = "de";
@ -14,10 +16,6 @@ in {
displayManager = {
gdm.enable = true;
defaultSession = "none+i3";
setupCommands = ''
xrandr --output HDMI-1 --rotate normal --output DP-2 --rotate normal --left-of HDMI-1 --output HDMI-0 --right-of HDMI-1
'';
# xrandr --output HDMI-1 --rotate normal --output DP-2 --rotate normal --left-of HDMI-1 --output HDMI-0 --right-of HDMI-1
};
};
};