Compare commits

..

3 commits

Author SHA1 Message Date
fleaz 1bfb290532
more 24.05 changes 2024-06-18 21:37:12 +02:00
fleaz 4c6f3b277f
fixup! Update to 24.05 2024-06-18 21:20:31 +02:00
fleaz d3d23a1198
modules: Fix swapped filenames 2024-06-18 21:19:57 +02:00
5 changed files with 25 additions and 18 deletions

View file

@ -1,6 +1,8 @@
{pkgs, ...}:
{
services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gnome3;
};
}

View file

@ -1,17 +1,18 @@
{ nixosConfig, ... }:
let
machines = {
smithers = {
"laptop-only" = {
outputs = [
{
criteria = "eDP-1";
scale = 1.3;
}
];
};
"homeoffice" = {
outputs = [
smithers = [{
profile.name = "laptop-only";
profile.outputs = [
{
criteria = "eDP-1";
scale = 1.3;
}
];
}
{
profile.name = "homeoffice";
profile.outputs = [
{
criteria = "eDP-1";
status = "disable";
@ -27,14 +28,13 @@ let
position = "2952,0";
}
];
};
};
}];
};
in
{
services.kanshi = {
enable = true;
profiles = machines."${nixosConfig.networking.hostName}";
settings = machines."${nixosConfig.networking.hostName}";
};
}

View file

@ -8,6 +8,11 @@ in
package = pkgs.swayfx;
wrapperFeatures.gtk = true;
# Sway can't find wallpaper.jpg and failes to build
# swayfx also has some problems:
# https://discourse.nixos.org/t/sway-fails-with-cannot-create-gles2-renderer-after-update/45703/2
checkConfig = false;
config = {
modifier = "Mod4";
focus.followMouse = false;

View file

@ -1,5 +1,3 @@
{
# Laptops need NetworkManger
networking.networkmanager.enable = true;
programs.nm-applet.enable = true;
hardware.bluetooth.enable = true;
}

View file

@ -1,3 +1,5 @@
{
hardware.bluetooth.enable = true;
# Laptops need NetworkManger
networking.networkmanager.enable = true;
programs.nm-applet.enable = true;
}