Compare commits
No commits in common. "1bfb290532722f7b52ec45d28529cd6ea6fdf346" and "96d898427ea77c02f878196f6bf02671a054550f" have entirely different histories.
1bfb290532
...
96d898427e
|
@ -1,8 +1,6 @@
|
|||
{pkgs, ...}:
|
||||
{
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
pinentryPackage = pkgs.pinentry-gnome3;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
{ nixosConfig, ... }:
|
||||
let
|
||||
machines = {
|
||||
smithers = [{
|
||||
profile.name = "laptop-only";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
scale = 1.3;
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
profile.name = "homeoffice";
|
||||
profile.outputs = [
|
||||
smithers = {
|
||||
"laptop-only" = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
scale = 1.3;
|
||||
}
|
||||
];
|
||||
};
|
||||
"homeoffice" = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "disable";
|
||||
|
@ -28,13 +27,14 @@ let
|
|||
position = "2952,0";
|
||||
}
|
||||
];
|
||||
}];
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
settings = machines."${nixosConfig.networking.hostName}";
|
||||
profiles = machines."${nixosConfig.networking.hostName}";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -8,11 +8,6 @@ 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;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
{
|
||||
hardware.bluetooth.enable = true;
|
||||
# Laptops need NetworkManger
|
||||
networking.networkmanager.enable = true;
|
||||
programs.nm-applet.enable = true;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
{
|
||||
# Laptops need NetworkManger
|
||||
networking.networkmanager.enable = true;
|
||||
programs.nm-applet.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue