mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21: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 = {
|
input = {
|
||||||
kb_layout = "de";
|
kb_layout = "de";
|
||||||
kb_variant = "nodeadkeys";
|
kb_variant = "nodeadkeys";
|
||||||
|
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -60,7 +59,6 @@
|
||||||
gaps_in = 5;
|
gaps_in = 5;
|
||||||
gaps_out = 10;
|
gaps_out = 10;
|
||||||
border_size = 1;
|
border_size = 1;
|
||||||
|
|
||||||
layout = "master";
|
layout = "master";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -80,7 +78,6 @@
|
||||||
disable_hyprland_logo = true;
|
disable_hyprland_logo = true;
|
||||||
disable_splash_rendering = true;
|
disable_splash_rendering = true;
|
||||||
force_default_wallpaper = 0;
|
force_default_wallpaper = 0;
|
||||||
|
|
||||||
key_press_enables_dpms = true;
|
key_press_enables_dpms = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@
|
||||||
config = lib.mkIf config.myConfig.vscode.enable {
|
config = lib.mkIf config.myConfig.vscode.enable {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
package = pkgs.vscode-with-extensions.override {
|
package = pkgs.vscode-with-extensions.override {
|
||||||
vscode = pkgs.vscodium;
|
vscode = pkgs.vscodium;
|
||||||
vscodeExtensions =
|
vscodeExtensions =
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
services.geoclue2 = {
|
services.geoclue2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
appConfig.gammastep = {
|
appConfig.gammastep = {
|
||||||
isAllowed = true;
|
isAllowed = true;
|
||||||
isSystem = false;
|
isSystem = false;
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,8 @@ in
|
||||||
|
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
authKeyFile = config.sops.secrets.tailscale-auth-key.path;
|
authKeyFile = config.sops.secrets.tailscale-auth-key.path;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
||||||
useRoutingFeatures = if cfg.exitNode.enable then "server" else "client";
|
useRoutingFeatures = if cfg.exitNode.enable then "server" else "client";
|
||||||
extraUpFlags = [
|
extraUpFlags = [
|
||||||
(lib.mkIf cfg.ssh.enable "--ssh")
|
(lib.mkIf cfg.ssh.enable "--ssh")
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@
|
||||||
|
|
||||||
networking.wireless.iwd = {
|
networking.wireless.iwd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
General.EnableNetworkConfiguration = true;
|
General.EnableNetworkConfiguration = true;
|
||||||
Settings.AutoConnect = true;
|
Settings.AutoConnect = true;
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ let
|
||||||
betterfox = builtins.replaceStrings [ "user_pref" ] [ "pref" ] (
|
betterfox = builtins.replaceStrings [ "user_pref" ] [ "pref" ] (
|
||||||
builtins.readFile "${inputs.betterfox}/user.js"
|
builtins.readFile "${inputs.betterfox}/user.js"
|
||||||
);
|
);
|
||||||
escapedUiState =
|
escapedUiState = builtins.replaceStrings [ ''"'' ] [ ''\"'' ] ''
|
||||||
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}
|
||||||
''{"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
|
in
|
||||||
''
|
''
|
||||||
${betterfox}
|
${betterfox}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ let
|
||||||
in
|
in
|
||||||
assembleWrapper {
|
assembleWrapper {
|
||||||
basePackage = pkgs.hypridle;
|
basePackage = pkgs.hypridle;
|
||||||
|
|
||||||
flags =
|
flags =
|
||||||
let
|
let
|
||||||
hypridle-config = pkgs.writeText "hypridle-config" ''
|
hypridle-config = pkgs.writeText "hypridle-config" ''
|
||||||
|
|
@ -13,18 +12,15 @@ assembleWrapper {
|
||||||
before_sleep_cmd = loginctl lock-session
|
before_sleep_cmd = loginctl lock-session
|
||||||
after_sleep_cmd = hyprctl dispatch dpms on
|
after_sleep_cmd = hyprctl dispatch dpms on
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 300
|
timeout = 300
|
||||||
on-timeout= brightnessctl -s && brightnessctl -e set 10%
|
on-timeout= brightnessctl -s && brightnessctl -e set 10%
|
||||||
on-resume = brightnessctl -r
|
on-resume = brightnessctl -r
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 600
|
timeout = 600
|
||||||
on-timeout = loginctl lock-session
|
on-timeout = loginctl lock-session
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 610
|
timeout = 610
|
||||||
on-timeout = hyprctl dispatch dpms off
|
on-timeout = hyprctl dispatch dpms off
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ let
|
||||||
in
|
in
|
||||||
assembleWrapper {
|
assembleWrapper {
|
||||||
basePackage = pkgs.hyprlock;
|
basePackage = pkgs.hyprlock;
|
||||||
|
|
||||||
flags =
|
flags =
|
||||||
let
|
let
|
||||||
hyprlock-config = pkgs.writeText "hyprlock-config" ''
|
hyprlock-config = pkgs.writeText "hyprlock-config" ''
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ let
|
||||||
in
|
in
|
||||||
assembleWrapper {
|
assembleWrapper {
|
||||||
basePackage = pkgs.hyprpaper;
|
basePackage = pkgs.hyprpaper;
|
||||||
|
|
||||||
flags =
|
flags =
|
||||||
let
|
let
|
||||||
hyprpaper-config = pkgs.writeText "hyprpaper-config" ''
|
hyprpaper-config = pkgs.writeText "hyprpaper-config" ''
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ in
|
||||||
}:
|
}:
|
||||||
assembleWrapper {
|
assembleWrapper {
|
||||||
basePackage = pkgs.kitty;
|
basePackage = pkgs.kitty;
|
||||||
|
|
||||||
programs.kitty.prependFlags =
|
programs.kitty.prependFlags =
|
||||||
let
|
let
|
||||||
kitty-config = pkgs.writeText "kitty-config" ''
|
kitty-config = pkgs.writeText "kitty-config" ''
|
||||||
|
|
@ -18,7 +17,6 @@ assembleWrapper {
|
||||||
enable_audio_bell no
|
enable_audio_bell no
|
||||||
update_check_interval 0
|
update_check_interval 0
|
||||||
'';
|
'';
|
||||||
|
|
||||||
theme-file =
|
theme-file =
|
||||||
{
|
{
|
||||||
dark = "default.conf";
|
dark = "default.conf";
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ in
|
||||||
}:
|
}:
|
||||||
assembleWrapper {
|
assembleWrapper {
|
||||||
basePackage = pkgs.rofi-wayland;
|
basePackage = pkgs.rofi-wayland;
|
||||||
|
|
||||||
flags =
|
flags =
|
||||||
let
|
let
|
||||||
theming =
|
theming =
|
||||||
|
|
|
||||||
|
|
@ -56,4 +56,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue