kanshi only on jimbo, static monitor config on cray
This commit is contained in:
parent
eee41375d2
commit
ca95081b3e
|
@ -14,6 +14,8 @@ in
|
|||
modules/neovim.nix
|
||||
modules/vscode.nix
|
||||
modules/sway.nix
|
||||
] ++ lib.optionals (config.networking.hostName == "jimbo") [
|
||||
modules/kanshi.nix
|
||||
];
|
||||
|
||||
gtk = {
|
||||
|
|
6
home-manager/modules/kanshi.nix
Normal file
6
home-manager/modules/kanshi.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, nixosConfig, lib, ... }:
|
||||
{
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
|
@ -16,23 +16,24 @@
|
|||
};
|
||||
output = {
|
||||
"*".bg = "/home/fleaz/Downloads/spongebob.jpg fill";
|
||||
"DVI-D-1" = {
|
||||
} // lib.optionals (nixosConfig.networking.hostName == "cray") {
|
||||
"DP-1" = {
|
||||
mode = "1920x1200";
|
||||
transform = "270";
|
||||
position = "0,0";
|
||||
};
|
||||
"HDMI-A-1" = {
|
||||
mode = "3840x2160";
|
||||
scale = "1.2";
|
||||
scale = "1.3";
|
||||
position = "1200,0";
|
||||
};
|
||||
"DP-1" = {
|
||||
"DP-2" = {
|
||||
mode = "3840x2160";
|
||||
scale = "1.2";
|
||||
position = "4400,0";
|
||||
scale = "1.3";
|
||||
position = "4152,0";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
gaps = { inner = 8; };
|
||||
window.border = 0;
|
||||
workspaceAutoBackAndForth = true;
|
||||
|
|
|
@ -61,37 +61,10 @@ in
|
|||
services.printing.enable = true;
|
||||
services.printing.drivers = with pkgs; [ splix ];
|
||||
|
||||
# output = {
|
||||
# "*".bg = "/home/fleaz/Downloads/spongebob.jpg fill";
|
||||
# "DVI-D-1" = {
|
||||
# mode = "1920x1200";
|
||||
# transform = "270";
|
||||
# position = "0,0";
|
||||
# };
|
||||
# "HDMI-A-1" = {
|
||||
# mode = "3840x2160";
|
||||
# scale = "1.2";
|
||||
# position = "1200,0";
|
||||
# };
|
||||
# "DP-1" = {
|
||||
# mode = "3840x2160";
|
||||
# scale = "1.2";
|
||||
# position = "4400,0";
|
||||
# };
|
||||
|
||||
|
||||
# Multimedia Keys
|
||||
# "XF86AudioMute" =
|
||||
# "exec ${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
||||
# "XF86AudioRaiseVolume" =
|
||||
# "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%";
|
||||
# "XF86AudioLowerVolume" =
|
||||
# "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%";
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [ neovim wget curl git ];
|
||||
programs.neovim.vimAlias = true;
|
||||
environment.systemPackages = with pkgs; [ vim wget curl git ];
|
||||
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
|
Loading…
Reference in a new issue