This commit is contained in:
Casper V. Kristensen 2023-08-13 19:43:24 +02:00
parent 843f733409
commit df294976da
4 changed files with 21 additions and 34 deletions

View file

@ -1,7 +1,5 @@
{ pkgs, ... }: {
imports = [
./firefox.nix
./kanshi.nix
./network.nix
./ssh.nix
./sway.nix
@ -10,6 +8,7 @@
environment.systemPackages = with pkgs; [
discord
firefox-wayland
keepassxc
mpv
spotify

View file

@ -1,7 +0,0 @@
{ pkgs, ... }: {
# https://nixos.wiki/wiki/Firefox
environment.systemPackages = with pkgs; [
firefox-wayland
];
}

View file

@ -1,25 +0,0 @@
{ home-manager, lib, pkgs, ... }: {
# https://nix-community.github.io/home-manager/options.html
home-manager.users.caspervk = {
services.kanshi = {
enable = true;
profiles = {
# Output names ("criteria") from `swaymsg -t get_outputs`.
home.outputs = [
{
criteria = "ASUSTek COMPUTER INC ROG XG27AQ M3LMQS370969";
mode = "2560x1440@144Hz";
position = "0,0";
adaptiveSync = true;
}
{
criteria = "BNQ BenQ XL2411Z SCD06385SL0";
mode = "1920x1080@144Hz";
position = "2560,0";
}
];
};
};
};
}

View file

@ -109,6 +109,26 @@
{ timeout = 600; command = lock; }
];
};
services.kanshi = {
enable = true;
profiles = {
# Output names ("criteria") from `swaymsg -t get_outputs`.
home.outputs = [
{
criteria = "ASUSTek COMPUTER INC ROG XG27AQ M3LMQS370969";
mode = "2560x1440@144Hz";
position = "0,0";
adaptiveSync = true;
}
{
criteria = "BNQ BenQ XL2411Z SCD06385SL0";
mode = "1920x1080@144Hz";
position = "2560,0";
}
];
};
};
};
environment.systemPackages = with pkgs; [