working system
This commit is contained in:
parent
090e8e3a9d
commit
d38a412e8f
14 changed files with 76 additions and 18 deletions
BIN
assets/wallpapers/gay_arch_linux.png
Normal file
BIN
assets/wallpapers/gay_arch_linux.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
|
@ -78,6 +78,7 @@
|
||||||
spicetify.enable = true;
|
spicetify.enable = true;
|
||||||
schizofox.enable = true;
|
schizofox.enable = true;
|
||||||
anyrun.enable = true;
|
anyrun.enable = true;
|
||||||
|
zathura.enable = true;
|
||||||
ags.enable = true;
|
ags.enable = true;
|
||||||
foot = {
|
foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -115,7 +116,7 @@
|
||||||
};
|
};
|
||||||
image = ../../../assets/wallpapers/tiredgod.png;
|
image = ../../../assets/wallpapers/tiredgod.png;
|
||||||
};
|
};
|
||||||
gtk = {enable = true;};
|
gtk = {enable = false;};
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.kde-gruvbox;
|
package = pkgs.kde-gruvbox;
|
||||||
|
|
|
@ -4,6 +4,7 @@ _: {
|
||||||
../../../options/common/bluetooth.nix
|
../../../options/common/bluetooth.nix
|
||||||
../../../options/desktop/fonts.nix
|
../../../options/desktop/fonts.nix
|
||||||
../../../options/common/networking.nix
|
../../../options/common/networking.nix
|
||||||
|
../../../options/common/docs.nix
|
||||||
../../../options/common/gpu/nvidia.nix
|
../../../options/common/gpu/nvidia.nix
|
||||||
../../../options/desktop/monitors.nix
|
../../../options/desktop/monitors.nix
|
||||||
../../../overlay.nix
|
../../../overlay.nix
|
||||||
|
|
|
@ -21,6 +21,7 @@ in {
|
||||||
calc
|
calc
|
||||||
calcure
|
calcure
|
||||||
calibre
|
calibre
|
||||||
|
cbonsai
|
||||||
cmake
|
cmake
|
||||||
cmus
|
cmus
|
||||||
difftastic
|
difftastic
|
||||||
|
@ -112,7 +113,6 @@ in {
|
||||||
xournalpp
|
xournalpp
|
||||||
yt-dlp
|
yt-dlp
|
||||||
zapzap
|
zapzap
|
||||||
zathura
|
|
||||||
zip
|
zip
|
||||||
zoxide
|
zoxide
|
||||||
];
|
];
|
||||||
|
|
|
@ -20,10 +20,10 @@ in {
|
||||||
plugins = with inputs.anyrun.packages.${pkgs.system}; [
|
plugins = with inputs.anyrun.packages.${pkgs.system}; [
|
||||||
applications
|
applications
|
||||||
dictionary
|
dictionary
|
||||||
rink
|
#rink
|
||||||
shell
|
shell
|
||||||
# symbols
|
# symbols
|
||||||
translate
|
#translate
|
||||||
websearch
|
websearch
|
||||||
];
|
];
|
||||||
hideIcons = false;
|
hideIcons = false;
|
||||||
|
@ -41,7 +41,6 @@ in {
|
||||||
extraConfigFiles = {
|
extraConfigFiles = {
|
||||||
"applications.ron".text = ''
|
"applications.ron".text = ''
|
||||||
Config(
|
Config(
|
||||||
desktop_actions: true,
|
|
||||||
max_entries: 10,
|
max_entries: 10,
|
||||||
terminal: Some("foot"),
|
terminal: Some("foot"),
|
||||||
)
|
)
|
||||||
|
|
|
@ -92,7 +92,7 @@ in {
|
||||||
{
|
{
|
||||||
Name = "noogle";
|
Name = "noogle";
|
||||||
Descriptiom = "Noogle Search";
|
Descriptiom = "Noogle Search";
|
||||||
Alias = "!no";
|
Alias = "!ng";
|
||||||
Method = "GET";
|
Method = "GET";
|
||||||
URLTemplate = "https://noogle.dev/";
|
URLTemplate = "https://noogle.dev/";
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,14 +16,15 @@ in {
|
||||||
settings.mainBar = {
|
settings.mainBar = {
|
||||||
gtk-layer-shell = true;
|
gtk-layer-shell = true;
|
||||||
layer = "top";
|
layer = "top";
|
||||||
modules-left = ["tray" "hyprland/window"];
|
modules-left = ["tray" "mpd" "hyprland/window"];
|
||||||
modules-center = ["hyprland/workspaces"];
|
modules-center = ["hyprland/workspaces"];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"mpd"
|
|
||||||
"cpu"
|
"cpu"
|
||||||
"memory"
|
"memory"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"clock"
|
"clock"
|
||||||
|
"backlight"
|
||||||
|
"battery"
|
||||||
];
|
];
|
||||||
|
|
||||||
pulseaudio = {
|
pulseaudio = {
|
||||||
|
@ -34,6 +35,7 @@ in {
|
||||||
format-icons = {default = ["" "" ""];};
|
format-icons = {default = ["" "" ""];};
|
||||||
on-click = "${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
on-click = "${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||||
};
|
};
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
sort-by-name = true;
|
sort-by-name = true;
|
||||||
sort-by-coordinates = false;
|
sort-by-coordinates = false;
|
||||||
|
@ -74,10 +76,12 @@ in {
|
||||||
"30" = "10";
|
"30" = "10";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
tray = {
|
tray = {
|
||||||
icon-size = 12;
|
icon-size = 12;
|
||||||
spacing = 5;
|
spacing = 5;
|
||||||
};
|
};
|
||||||
|
|
||||||
#
|
#
|
||||||
clock = {
|
clock = {
|
||||||
interval = 1;
|
interval = 1;
|
||||||
|
@ -105,27 +109,39 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
battery = {
|
||||||
|
interval = 10;
|
||||||
|
states = {
|
||||||
|
good = 75;
|
||||||
|
warning = 20;
|
||||||
|
critical = 10;
|
||||||
|
};
|
||||||
|
format = "{icon}{capacity}%";
|
||||||
|
format-charging = "{icon}{capacity}%";
|
||||||
|
format-discharging = "{icon}{capacity}%";
|
||||||
|
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
||||||
|
format-charging-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
||||||
|
};
|
||||||
|
|
||||||
cpu = {
|
cpu = {
|
||||||
interval = 1;
|
interval = 1;
|
||||||
format = " {}%";
|
format = " {}%";
|
||||||
max-length = 10;
|
max-length = 10;
|
||||||
};
|
};
|
||||||
|
|
||||||
memory = {
|
memory = {
|
||||||
interval = 1;
|
interval = 1;
|
||||||
format = " {}%";
|
format = " {}%";
|
||||||
max-length = 10;
|
max-length = 10;
|
||||||
};
|
};
|
||||||
"custom/launcher" = {
|
|
||||||
format = " ";
|
|
||||||
on-click = "anyrun";
|
|
||||||
on-click-right = "pkill anyrun";
|
|
||||||
};
|
|
||||||
"hyprland/window" = {
|
"hyprland/window" = {
|
||||||
format = "{}";
|
format = "{}";
|
||||||
separate-outputs = true;
|
separate-outputs = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
mpd = {
|
mpd = {
|
||||||
format = " {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})";
|
format = " {artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})";
|
||||||
format-disconnected = " Disconnected";
|
format-disconnected = " Disconnected";
|
||||||
format-stopped = " Stopped";
|
format-stopped = " Stopped";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
|
@ -134,6 +150,7 @@ in {
|
||||||
on-click = "mpc toggle";
|
on-click = "mpc toggle";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
style = ''
|
style = ''
|
||||||
@define-color base #1e1e2e;
|
@define-color base #1e1e2e;
|
||||||
@define-color mantle #181825;
|
@define-color mantle #181825;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.modules.programs.zathura;
|
cfg = config.modules.programs.zathura;
|
||||||
username = config.modules.other.system.username;
|
inherit (config.modules.other.system) username;
|
||||||
catppuccin = pkgs.fetchFromGitHub {
|
catppuccin = pkgs.fetchFromGitHub {
|
||||||
owner = "catppuccin";
|
owner = "catppuccin";
|
||||||
repo = "zathura";
|
repo = "zathura";
|
||||||
|
@ -24,7 +24,16 @@ in {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
include catppuccin-mocha
|
include catppuccin-mocha
|
||||||
'';
|
'';
|
||||||
options = {selection-clipboard = "clipboard";};
|
options = {
|
||||||
|
selection-clipboard = "clipboard";
|
||||||
|
adjust-open = "best-fit";
|
||||||
|
pages-per-row = "1";
|
||||||
|
scroll-page-aware = "true";
|
||||||
|
scroll-full-overlap = "0.01";
|
||||||
|
scroll-step = "100";
|
||||||
|
zoom-min = "10";
|
||||||
|
guioptions = "none";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -30,5 +30,9 @@ in {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["wheel"];
|
extraGroups = ["wheel"];
|
||||||
};
|
};
|
||||||
|
users.users.test = {
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = ["wheel"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
_: {imports = [./pipewire.nix ./ssh.nix ./greetd.nix ./dunst.nix ./mpd.nix];}
|
_: {imports = [./pipewire.nix ./ssh.nix ./greetd.nix ./dunst.nix ./mpd.nix ./firewall.nix];}
|
||||||
|
|
3
modules/services/firewall.nix
Normal file
3
modules/services/firewall.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
_: {
|
||||||
|
networking.nftables.enable = true;
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.modules.services.mpd;
|
cfg = config.modules.services.mpd;
|
||||||
|
@ -18,6 +19,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [mpc-cli];
|
||||||
systemd.services.mpd.environment = {
|
systemd.services.mpd.environment = {
|
||||||
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609
|
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609
|
||||||
XDG_RUNTIME_DIR = "/run/user/1000";
|
XDG_RUNTIME_DIR = "/run/user/1000";
|
||||||
|
|
|
@ -32,7 +32,7 @@ in {
|
||||||
};
|
};
|
||||||
name = lib.mkOption {
|
name = lib.mkOption {
|
||||||
description = "Cursor Name";
|
description = "Cursor Name";
|
||||||
type = lib.type.str;
|
type = lib.types.str;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
fontsizes = {
|
fontsizes = {
|
||||||
|
|
22
options/common/docs.nix
Normal file
22
options/common/docs.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
documentation = {
|
||||||
|
enable = true;
|
||||||
|
dev.enable = true;
|
||||||
|
doc.enable = false;
|
||||||
|
info.enable = false;
|
||||||
|
man = {
|
||||||
|
enable = true;
|
||||||
|
generateCaches = false;
|
||||||
|
man-db.enable = false;
|
||||||
|
mandoc.enable = true;
|
||||||
|
};
|
||||||
|
nixos = {
|
||||||
|
includeAllModules = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
man-pages
|
||||||
|
man-pages-posix
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue