change sway config
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.cloonar.sway;
|
||||
|
||||
dbus-sway-environment = pkgs.writeTextFile {
|
||||
name = "dbus-sway-environment";
|
||||
destination = "/bin/dbus-sway-environment";
|
||||
@@ -13,7 +15,20 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
sway-conf = builtins.readFile ./sway.conf + cfg.additionalConfig;
|
||||
in {
|
||||
|
||||
options.cloonar.sway.additionalConfig = {
|
||||
dataDir = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
description = lib.mdDoc ''
|
||||
Additional sway config
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
imports = [
|
||||
./social.nix
|
||||
./signal-work.nix
|
||||
@@ -71,20 +86,8 @@ in {
|
||||
wtype
|
||||
apache-directory-studio
|
||||
firefox
|
||||
yubikey-personalization-gui
|
||||
];
|
||||
|
||||
# nixpkgs.config.permittedInsecurePackages = [
|
||||
# "qtwebkit-5.212.0-alpha4"
|
||||
# "electron-13.6.9"
|
||||
# ];
|
||||
# nixpkgs.config.allowBroken = true;
|
||||
|
||||
programs._1password-gui = {
|
||||
enable = true;
|
||||
polkitPolicyOwners = [ "dominik" ];
|
||||
};
|
||||
|
||||
programs.light.enable = true;
|
||||
|
||||
fonts.fonts = with pkgs; [
|
||||
@@ -115,4 +118,5 @@ in {
|
||||
"xdg/waybar/style.css".text = builtins.readFile ./waybar.css;
|
||||
"xdg/foot/foot.ini".text = builtins.readFile ./foot.ini;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user