mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Improve formatting
This commit is contained in:
parent
ec3daba23b
commit
6003454c66
12 changed files with 3 additions and 21 deletions
|
|
@ -42,7 +42,6 @@
|
|||
input = {
|
||||
kb_layout = "de";
|
||||
kb_variant = "nodeadkeys";
|
||||
|
||||
accel_profile = "flat";
|
||||
};
|
||||
|
||||
|
|
@ -60,7 +59,6 @@
|
|||
gaps_in = 5;
|
||||
gaps_out = 10;
|
||||
border_size = 1;
|
||||
|
||||
layout = "master";
|
||||
};
|
||||
|
||||
|
|
@ -80,7 +78,6 @@
|
|||
disable_hyprland_logo = true;
|
||||
disable_splash_rendering = true;
|
||||
force_default_wallpaper = 0;
|
||||
|
||||
key_press_enables_dpms = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
config = lib.mkIf config.myConfig.vscode.enable {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
|
||||
package = pkgs.vscode-with-extensions.override {
|
||||
vscode = pkgs.vscodium;
|
||||
vscodeExtensions =
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
services.geoclue2 = {
|
||||
enable = true;
|
||||
|
||||
appConfig.gammastep = {
|
||||
isAllowed = true;
|
||||
isSystem = false;
|
||||
|
|
|
|||
|
|
@ -14,10 +14,8 @@ in
|
|||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
|
||||
authKeyFile = config.sops.secrets.tailscale-auth-key.path;
|
||||
openFirewall = true;
|
||||
|
||||
useRoutingFeatures = if cfg.exitNode.enable then "server" else "client";
|
||||
extraUpFlags = [
|
||||
(lib.mkIf cfg.ssh.enable "--ssh")
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
networking.wireless.iwd = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
General.EnableNetworkConfiguration = true;
|
||||
Settings.AutoConnect = true;
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ let
|
|||
betterfox = builtins.replaceStrings [ "user_pref" ] [ "pref" ] (
|
||||
builtins.readFile "${inputs.betterfox}/user.js"
|
||||
);
|
||||
escapedUiState =
|
||||
builtins.replaceStrings [ ''"'' ] [ ''\"'' ]
|
||||
''{"placements":{"widget-overflow-fixed-list":[],"unified-extensions-area":["_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action","_74145f27-f039-47ce-a470-a662b129930a_-browser-action","sponsorblocker_ajay_app-browser-action","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","ublock0_raymondhill_net-browser-action"],"nav-bar":["back-button","forward-button","stop-reload-button","customizableui-special-spring1","urlbar-container","customizableui-special-spring2","save-to-pocket-button","downloads-button","fxa-toolbar-menu-button","unified-extensions-button","sidebar-button"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["firefox-view-button","tabbrowser-tabs","new-tab-button","alltabs-button"],"PersonalToolbar":["personal-bookmarks"]},"seen":["developer-button","_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action","_74145f27-f039-47ce-a470-a662b129930a_-browser-action","sponsorblocker_ajay_app-browser-action","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","ublock0_raymondhill_net-browser-action"],"dirtyAreaCache":["nav-bar","unified-extensions-area","PersonalToolbar","toolbar-menubar","TabsToolbar"],"currentVersion":20,"newElementCount":4}'';
|
||||
escapedUiState = builtins.replaceStrings [ ''"'' ] [ ''\"'' ] ''
|
||||
{"placements":{"widget-overflow-fixed-list":[],"unified-extensions-area":["_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action","_74145f27-f039-47ce-a470-a662b129930a_-browser-action","sponsorblocker_ajay_app-browser-action","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","ublock0_raymondhill_net-browser-action"],"nav-bar":["back-button","forward-button","stop-reload-button","customizableui-special-spring1","urlbar-container","customizableui-special-spring2","save-to-pocket-button","downloads-button","fxa-toolbar-menu-button","unified-extensions-button","sidebar-button"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["firefox-view-button","tabbrowser-tabs","new-tab-button","alltabs-button"],"PersonalToolbar":["personal-bookmarks"]},"seen":["developer-button","_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action","_74145f27-f039-47ce-a470-a662b129930a_-browser-action","sponsorblocker_ajay_app-browser-action","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","ublock0_raymondhill_net-browser-action"],"dirtyAreaCache":["nav-bar","unified-extensions-area","PersonalToolbar","toolbar-menubar","TabsToolbar"],"currentVersion":20,"newElementCount":4}
|
||||
'';
|
||||
in
|
||||
''
|
||||
${betterfox}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let
|
|||
in
|
||||
assembleWrapper {
|
||||
basePackage = pkgs.hypridle;
|
||||
|
||||
flags =
|
||||
let
|
||||
hypridle-config = pkgs.writeText "hypridle-config" ''
|
||||
|
|
@ -13,18 +12,15 @@ assembleWrapper {
|
|||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout= brightnessctl -s && brightnessctl -e set 10%
|
||||
on-resume = brightnessctl -r
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 610
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let
|
|||
in
|
||||
assembleWrapper {
|
||||
basePackage = pkgs.hyprlock;
|
||||
|
||||
flags =
|
||||
let
|
||||
hyprlock-config = pkgs.writeText "hyprlock-config" ''
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let
|
|||
in
|
||||
assembleWrapper {
|
||||
basePackage = pkgs.hyprpaper;
|
||||
|
||||
flags =
|
||||
let
|
||||
hyprpaper-config = pkgs.writeText "hyprpaper-config" ''
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ in
|
|||
}:
|
||||
assembleWrapper {
|
||||
basePackage = pkgs.kitty;
|
||||
|
||||
programs.kitty.prependFlags =
|
||||
let
|
||||
kitty-config = pkgs.writeText "kitty-config" ''
|
||||
|
|
@ -18,7 +17,6 @@ assembleWrapper {
|
|||
enable_audio_bell no
|
||||
update_check_interval 0
|
||||
'';
|
||||
|
||||
theme-file =
|
||||
{
|
||||
dark = "default.conf";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ in
|
|||
}:
|
||||
assembleWrapper {
|
||||
basePackage = pkgs.rofi-wayland;
|
||||
|
||||
flags =
|
||||
let
|
||||
theming =
|
||||
|
|
|
|||
|
|
@ -56,4 +56,3 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue