change sway config
This commit is contained in:
parent
a4eb21471b
commit
5157ff97e2
2 changed files with 20 additions and 12 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,10 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
cloonar.sway.additionalConfig = ''
|
||||
output eDP-1 disable
|
||||
'';
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue