From f57a62a2e241f9d6fd8a5a34ce50600541c24374 Mon Sep 17 00:00:00 2001 From: ISnortPennies Date: Sat, 21 Jan 2023 15:13:34 -0500 Subject: [PATCH] changed home-manager configuration --- configuration.nix | 2 +- home-manager/config/discord/settings.json | 1 - home-manager/home.nix | 2 - home-manager/librewolf.nix | 1 - home-manager/polybar.nix | 285 ---------------------- home-manager/rofi.nix | 6 - 6 files changed, 1 insertion(+), 296 deletions(-) delete mode 100644 home-manager/polybar.nix delete mode 100644 home-manager/rofi.nix diff --git a/configuration.nix b/configuration.nix index 03013c5..dd79e18 100644 --- a/configuration.nix +++ b/configuration.nix @@ -48,7 +48,7 @@ }; services.openssh = { enable = true; - permitRootLogin = "yes"; + settings.permitRootLogin = "yes"; }; diff --git a/home-manager/config/discord/settings.json b/home-manager/config/discord/settings.json index 8f9acae..7fe9cbf 100644 --- a/home-manager/config/discord/settings.json +++ b/home-manager/config/discord/settings.json @@ -8,7 +8,6 @@ }, "IS_MAXIMIZED": false, "IS_MINIMIZED": false, - "SKIP_HOST_UPDATE": true, "MIN_WIDTH": 0, "MIN_HEIGHT": 0, "OPEN_ON_STARTUP": false, diff --git a/home-manager/home.nix b/home-manager/home.nix index d6aeec9..666bd63 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -3,8 +3,6 @@ imports = [ ./librewolf.nix ./sxhkd.nix - ./rofi.nix - ./polybar.nix ./theme.nix ./picom.nix ./git.nix diff --git a/home-manager/librewolf.nix b/home-manager/librewolf.nix index db61e72..96e6638 100644 --- a/home-manager/librewolf.nix +++ b/home-manager/librewolf.nix @@ -6,7 +6,6 @@ settings = { "webgl.disabled" = true; "media.peerconnection.ice.no_host" = false; - "identity.fxaccounts.enabled" = true; "browser.sessionstore.resume_from_crash" = false; "security.OCSP.require" = false; "network.dns.disableIPv6" = true; diff --git a/home-manager/polybar.nix b/home-manager/polybar.nix deleted file mode 100644 index aebf68d..0000000 --- a/home-manager/polybar.nix +++ /dev/null @@ -1,285 +0,0 @@ -{ pkgs, ... }: -{ - services.polybar = { - enable = true; - package = pkgs.polybarFull; - script = "polybar left & \n polybar middle & \n polybar right &"; - settings = { - "settings" = { - screenchange.reload = true; - pseudo.transparency = false; - }; - "colors" = { - background = "#000000"; - foreground = "#80a0ff"; - blue = "#74b2ff"; - alert = "#ff5189"; - deepblue = "#36c692"; - }; - "bar/middle" = { - width = 100; - offset.x = 910; - modules.center = "date"; - height = 20; - fixed.center = false; - offset.y = 10; - font = [ "Overpass Nerd Font:style=Regular:size=12;5" ]; - background = "\${colors.background}"; - foreground = "\${colors.foreground}"; - }; - "bar/right" = { - width = "180px"; - offset.x = 1730; - modules.center = "tray pulseaudio network-wireless network-wired battery powermenu"; - height = "20pt"; - radius = 6; - fixed.center = false; - dpi = 96; - offset.y = 10; - font = [ "Overpass Nerd Font:style=Regular:size=14;4" "Material Design Icons:style=Regular:size=16;4" ]; - background = "\${colors.background}"; - foreground = "\${colors.foreground}"; - line.size = "3pt"; - border = { - size = "7pt"; - color = "\${colors.background}"; - radius = 7; - }; - padding = { - left = 0; - right = 0; - }; - cursor = { - click = "pointer"; - scroll = "ns-resize"; - }; - enable.ipc = true; - wm.restack = "bspwm"; - }; - "bar/tray" = { - width = "180px"; - offset.x = 1550; - module.margin.left = 0; - module.margin.right = 0; - modules.right = "sep"; - tray = { - position = "right"; - detached = false; - offset.x = 0; - offset.y = 0; - padding = 1; - maxsize = 180; - scale = "1.0"; - background = "\${colors.background}"; - transparent = false; - }; - height = "20pt"; - radius = 6; - fixed.center = false; - dpi = 96; - offset.y = 10; - font = [ "Overpass Nerd Font:style=Regular:size=14;4" "Material Design Icons:style=Regular:size=16;4" ]; - background = "\${colors.background}"; - foreground = "\${colors.foreground}"; - line.size = "3pt"; - border = { - size = "7pt"; - color = "\${colors.background}"; - radius = 7; - }; - padding = { - left = 0; - right = 0; - }; - cursor = { - click = "pointer"; - scroll = "ns-resize"; - }; - enable.ipc = true; - wm.restack = "bspwm"; - }; - "module/sep" = { - type = "custom/text"; - content = { - text = " "; - background = "\${colors.background}"; - foreground = "\${colors.foreground}"; - }; - }; - "module/xworkspaces" = { - type = "internal/xworkspaces"; - label = { - active = { - text = ""; - foreground = "\${colors.blue}"; - background = "\${colors.background}"; - padding = 2; - }; - occupied = { - text = ""; - foreground = "\${colors.deepblue}"; - background = "\${colors.background}"; - padding = 2; - }; - urgent = { - text = ""; - foreground = "\${colors.alert}"; - background = "\${colors.background}"; - padding = 2; - }; - empty = { - text = ""; - foreground = "\${colors.background}"; - background = "\${colors.background}"; - padding = 2; - }; - }; - }; - "module/date" = { - type = "internal/date"; - interval = 1; - date = { - text = "\"%I:%M %p\""; - alt = "\"%m/%d/%y\""; - }; - label = { - text = "\"%date%%{A}\""; - foreground = "\${colors.foreground}"; - background = "\${colors.background}"; - }; - }; - "module/tray" = { - type = "custom/text"; - content = " "; - click.left = "polybar-tray"; - label = { - padding = 3; - background = "\${colors.background}"; - }; - }; - "module/network-wireless" = { - type = "internal/network"; - interface.type = "wireless"; - interval = "3.0"; - udspeed.minwidth = 5; - accumulate.stats = true; - unknown.as.up = true; - format = { - connected = "\"%{A1:networkmanager_dmenu:}%{A}\""; - disconnected = "\"%{A1:networkmanager_dmenu:}%{A}\""; - }; - label.disconnected = { - text = ""; - padding = 0; - }; - ramp.signal = { - text = [ "󰤯" "󰤟" "󰤢" "󰤥" "󰤨" ]; - foreground = "\${colors.foreground}"; - background = "\${colors.background}"; - padding = 1; - }; - }; - "module/network-wired" = { - type = "internal/network"; - interface.type = "wired"; - interval = "3.0"; - udspeed.minwidth = 5; - accumulate.stats = true; - unknown.as.up = true; - format = { - connected = "\"%{A1:networkmanager_dmenu:}%{A}\""; - disconnected = "\"%{A1:networkmanager_dmenu:}%{A}\""; - }; - label.connected = { - text = ""; - foreground = "\${colors.foreground}"; - background = "\${colors.background}"; - padding = 1; - }; - label.disconnected = { - text = ""; - }; - }; - "module/powermenu" = { - type = "custom/text"; - content = { - text = ""; - foreground = "\${colors.alert}"; - background = "\${colors.background}"; - padding = 3; - }; - click.left = "\$HOME/.config/rofi/powermenu/powermenu.sh"; - }; - "module/battery" = { - type = "internal/battery"; - full.at = 100; - low.at = 20; - # battery = "BAT0"; - # adapter = "ACAD"; - poll.interval = 5; - format = { - charging = "\"%{A1:xfce4-power-menu -c:}%{A}\""; - discharging = "\"%{A1:xfce4-power-menu -c:}%{A}\""; - low = "\"%{A1:xfce4-power-menu -c:}%{A}\""; - full = "\"%{A1:xfce4-power-menu -c:}%{A}\""; - }; - label = { - charging = { - text = "\"%percentage%%\""; - padding = 1; - }; - discharging = { - text = "\"%percentage%%\""; - padding = 1; - }; - low = { - text = "\"%percentage%%\""; - padding = 1; - }; - }; - animation = { - charging = { - text = [ "  " "  " "  " "  " "  " ]; - foreground = "\${colors.deepblue}"; - background = "\${colors.background}"; - framerate = 750; - }; - discharging.framerate = 500; - low = { - text = [ " " " " ]; - framerate = 200; - foreground = "\${colors.alert}"; - background = "\${colors.background}"; - }; - }; - ramp.capacity = { - text = [ "  " "  " "  " "  " "  " ]; - background = "\${colors.background}"; - }; - }; - "module/pulseaudio" = { - type = "internal/pulseaudio"; - use.ui.max = false; - interval = 5; - format = { - volume = "\"%{A1:pavucontrol:}%{A}\""; - muted = "\"%{A1:pavucontrol:}%{A}\""; - }; - label = { - muted = { - text = "ﱝ"; - foreground = "\${colors.alert}"; - background = "\${colors.background}"; - padding = 1; - }; - }; - ramp.volume = { - text = [ "奄" "奔" "墳" ]; - background = "\${colors.background}"; - padding = 1; - click.right = "amixer sset Master toggle"; - }; - }; - }; - }; -} diff --git a/home-manager/rofi.nix b/home-manager/rofi.nix deleted file mode 100644 index 1e80d11..0000000 --- a/home-manager/rofi.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ - programs.rofi = { - enable = true; - configPath = "./.rofi"; - }; -}