kekl
This commit is contained in:
@ -1,169 +1,187 @@
|
|||||||
{ config, lib, pkgs, pkgs-stable, ... }:
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[
|
lib,
|
||||||
./hardware-configuration.nix
|
pkgs,
|
||||||
./modules/nix/firefox.nix
|
pkgs-stable,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
./modules/nix/firefox.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
nix.settings.experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
||||||
|
networking.hostName = "poggers";
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
time.timeZone = "Europe/Berlin";
|
||||||
|
console = {
|
||||||
|
font = "Lat2-Terminus16";
|
||||||
|
useXkbConfig = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
services = {
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
pipewire = {
|
||||||
boot.loader.systemd-boot.enable = true;
|
enable = true;
|
||||||
|
pulse.enable = true;
|
||||||
networking.hostName = "poggers";
|
wireplumber.enable = true;
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
|
|
||||||
time.timeZone = "Europe/Berlin";
|
|
||||||
console = {
|
|
||||||
font = "Lat2-Terminus16";
|
|
||||||
useXkbConfig = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
extraPortals = [
|
|
||||||
pkgs.xdg-desktop-portal-gtk
|
|
||||||
pkgs.xdg-desktop-portal-hyprland
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
|
||||||
pipewire = {
|
|
||||||
enable = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
wireplumber.enable = true;
|
|
||||||
};
|
|
||||||
mullvad-vpn = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
sdrplayApi = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware = {
|
|
||||||
bluetooth = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
graphics = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
rtl-sdr = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
mullvad-vpn = {
|
||||||
programs = {
|
enable = true;
|
||||||
hyprland = {
|
|
||||||
enable = true;
|
|
||||||
xwayland.enable = true;
|
|
||||||
};
|
|
||||||
nix-ld.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
virtualisation = {
|
|
||||||
docker = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
sdrplayApi = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
users.users.fabian = {
|
hardware = {
|
||||||
isNormalUser = true;
|
bluetooth = {
|
||||||
initialPassword = "1601";
|
enable = true;
|
||||||
extraGroups = [ "wheel" "docker" "audio" "video" "dialout" "plugdev" ];
|
};
|
||||||
};
|
graphics = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
rtl-sdr = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages =
|
programs = {
|
||||||
|
hyprland = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
nix-ld.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
virtualisation = {
|
||||||
|
docker = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.fabian = {
|
||||||
|
isNormalUser = true;
|
||||||
|
initialPassword = "1601";
|
||||||
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
"docker"
|
||||||
|
"audio"
|
||||||
|
"video"
|
||||||
|
"dialout"
|
||||||
|
"plugdev"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages =
|
||||||
(with pkgs; [
|
(with pkgs; [
|
||||||
# sys
|
# sys
|
||||||
unzip
|
unzip
|
||||||
yt-dlp
|
yt-dlp
|
||||||
inetutils
|
inetutils
|
||||||
git
|
git
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
dosfstools
|
dosfstools
|
||||||
ntfs3g
|
ntfs3g
|
||||||
waybar
|
waybar
|
||||||
|
|
||||||
# cli
|
# cli
|
||||||
neofetch
|
neofetch
|
||||||
fastfetch
|
fastfetch
|
||||||
onefetch
|
onefetch
|
||||||
vim
|
vim
|
||||||
weechat
|
weechat
|
||||||
ranger
|
ranger
|
||||||
eza
|
eza
|
||||||
fzf
|
fzf
|
||||||
|
|
||||||
# dev
|
# dev
|
||||||
rustup
|
rustup
|
||||||
python3
|
python3
|
||||||
nodejs
|
nodejs
|
||||||
gccgo14
|
gccgo14
|
||||||
go
|
go
|
||||||
nixd
|
nixd
|
||||||
|
|
||||||
# radio
|
# radio
|
||||||
sdrplay
|
sdrplay
|
||||||
sdrpp
|
sdrpp
|
||||||
hackrf
|
hackrf
|
||||||
rtl-sdr
|
rtl-sdr
|
||||||
gqrx
|
gqrx
|
||||||
noaa-apt
|
noaa-apt
|
||||||
rtl_433
|
rtl_433
|
||||||
rtl-ais
|
rtl-ais
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
cava
|
cava
|
||||||
mumble
|
mumble
|
||||||
discord
|
vesktop
|
||||||
|
|
||||||
# hardware & shit
|
# hardware & shit
|
||||||
libplist
|
libplist
|
||||||
libimobiledevice
|
libimobiledevice
|
||||||
usbmuxd
|
usbmuxd
|
||||||
|
|
||||||
])
|
])
|
||||||
++
|
++ (with pkgs-stable; [
|
||||||
(with pkgs-stable; [
|
|
||||||
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 80 1337 8080 ];
|
allowedTCPPorts = [
|
||||||
};
|
80
|
||||||
|
1337
|
||||||
|
8080
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
security = {
|
security = {
|
||||||
doas = {
|
doas = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraRules = [{
|
extraRules = [
|
||||||
users = [ "fabian" ];
|
{
|
||||||
noPass = true;
|
users = [ "fabian" ];
|
||||||
keepEnv = true;
|
noPass = true;
|
||||||
}];
|
keepEnv = true;
|
||||||
};
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
fonts.fontDir.enable = true;
|
fonts.fontDir.enable = true;
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
fira-code
|
fira-code
|
||||||
fira-code-symbols
|
fira-code-symbols
|
||||||
fantasque-sans-mono
|
fantasque-sans-mono
|
||||||
mplus-outline-fonts.githubRelease
|
mplus-outline-fonts.githubRelease
|
||||||
dina-font
|
dina-font
|
||||||
proggyfonts
|
proggyfonts
|
||||||
nerdfonts
|
nerdfonts
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "unstable";
|
system.stateVersion = "unstable";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,66 +1,66 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
lock-false = {
|
lock-false = {
|
||||||
Value = false;
|
Value = false;
|
||||||
Status = "locked";
|
Status = "locked";
|
||||||
};
|
};
|
||||||
lock-true = {
|
lock-true = {
|
||||||
Value = true;
|
Value = true;
|
||||||
Status = "locked";
|
Status = "locked";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
firefox = {
|
firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
languagePacks = [ "en-US" ];
|
languagePacks = [ "en-US" ];
|
||||||
policies = {
|
policies = {
|
||||||
DisableTelemetry = true;
|
DisableTelemetry = true;
|
||||||
DisableFirefoxStudies = true;
|
DisableFirefoxStudies = true;
|
||||||
EnableTrackingProtection = {
|
EnableTrackingProtection = {
|
||||||
Value= true;
|
Value = true;
|
||||||
Locked = true;
|
Locked = true;
|
||||||
Cryptomining = true;
|
Cryptomining = true;
|
||||||
Fingerprinting = true;
|
Fingerprinting = true;
|
||||||
};
|
|
||||||
DisablePocket = true;
|
|
||||||
DisableFirefoxAccounts = true;
|
|
||||||
DisableAccounts = true;
|
|
||||||
DisableFirefoxScreenshots = true;
|
|
||||||
OverrideFirstRunPage = "";
|
|
||||||
OverridePostUpdatePage = "";
|
|
||||||
DontCheckDefaultBrowser = true;
|
|
||||||
DisplayBookmarksToolbar = "newtab";
|
|
||||||
DisplayMenuBar = "default-off";
|
|
||||||
SearchBar = "unified";
|
|
||||||
ExtensionSettings = {
|
|
||||||
"uBlock0@raymondhill.net" = {
|
|
||||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
|
||||||
installation_mode = "force_installed";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
preferences = {
|
|
||||||
"browser.contentblocking.category" = true;
|
|
||||||
"extensions.pocket.enabled" = false;
|
|
||||||
"extensions.screenshots.disabled" = true;
|
|
||||||
"browser.topsites.contile.enabled" = false;
|
|
||||||
"browser.formfill.enable" = false;
|
|
||||||
"browser.search.suggest.enabled" = false;
|
|
||||||
"browser.search.suggest.enabled.private" = false;
|
|
||||||
"browser.urlbar.suggest.searches" = false;
|
|
||||||
"browser.urlbar.showSearchSuggestionsFirst" = false;
|
|
||||||
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
|
|
||||||
"browser.newtabpage.activity-stream.feeds.snippets" = false;
|
|
||||||
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
|
|
||||||
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false;
|
|
||||||
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false;
|
|
||||||
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = false;
|
|
||||||
"browser.newtabpage.activity-stream.showSponsored" = false;
|
|
||||||
"browser.newtabpage.activity-stream.system.showSponsored" = false;
|
|
||||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
DisablePocket = true;
|
||||||
|
DisableFirefoxAccounts = true;
|
||||||
|
DisableAccounts = true;
|
||||||
|
DisableFirefoxScreenshots = true;
|
||||||
|
OverrideFirstRunPage = "";
|
||||||
|
OverridePostUpdatePage = "";
|
||||||
|
DontCheckDefaultBrowser = true;
|
||||||
|
DisplayBookmarksToolbar = "newtab";
|
||||||
|
DisplayMenuBar = "default-off";
|
||||||
|
SearchBar = "unified";
|
||||||
|
ExtensionSettings = {
|
||||||
|
"uBlock0@raymondhill.net" = {
|
||||||
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||||
|
installation_mode = "force_installed";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
preferences = {
|
||||||
|
"browser.contentblocking.category" = true;
|
||||||
|
"extensions.pocket.enabled" = false;
|
||||||
|
"extensions.screenshots.disabled" = true;
|
||||||
|
"browser.topsites.contile.enabled" = false;
|
||||||
|
"browser.formfill.enable" = false;
|
||||||
|
"browser.search.suggest.enabled" = false;
|
||||||
|
"browser.search.suggest.enabled.private" = false;
|
||||||
|
"browser.urlbar.suggest.searches" = false;
|
||||||
|
"browser.urlbar.showSearchSuggestionsFirst" = false;
|
||||||
|
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
|
||||||
|
"browser.newtabpage.activity-stream.feeds.snippets" = false;
|
||||||
|
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
|
||||||
|
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false;
|
||||||
|
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false;
|
||||||
|
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = false;
|
||||||
|
"browser.newtabpage.activity-stream.showSponsored" = false;
|
||||||
|
"browser.newtabpage.activity-stream.system.showSponsored" = false;
|
||||||
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,88 +1,86 @@
|
|||||||
{config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
extraConfig = ''
|
||||||
extraConfig = ''
|
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
|
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
|
windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
|
windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
|
windowrulev2 = noblur, class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = noblur, class:^(xwaylandvideobridge)$
|
|
||||||
|
|
||||||
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
bindl = , XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause
|
bindl = , XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause
|
||||||
bindl = , XF86AudioPrev, exec, ${pkgs.playerctl}/bin/playerctl previous
|
bindl = , XF86AudioPrev, exec, ${pkgs.playerctl}/bin/playerctl previous
|
||||||
bindl = , XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl next
|
bindl = , XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl next
|
||||||
|
|
||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
"monitor" = "HDMI-A-2, 2560x1440@144, 0x0, 1";
|
"monitor" = "HDMI-A-2, 2560x1440@144, 0x0, 1";
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"waybar &"
|
"waybar &"
|
||||||
"${pkgs.swaybg}/bin/swaybg -i ~/.wp/temple.png"
|
"${pkgs.swaybg}/bin/swaybg -i ~/.wp/temple.png"
|
||||||
];
|
];
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
|
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
|
||||||
"$mod, space, exec, ${pkgs.wofi}/bin/wofi --show drun"
|
"$mod, space, exec, ${pkgs.wofi}/bin/wofi --show drun"
|
||||||
"$mod, Q, killactive"
|
"$mod, Q, killactive"
|
||||||
"$mod SHIFT, space, togglefloating"
|
"$mod SHIFT, space, togglefloating"
|
||||||
|
|
||||||
"$mod, 1, workspace, 1"
|
"$mod, 1, workspace, 1"
|
||||||
"$mod, 2, workspace, 2"
|
"$mod, 2, workspace, 2"
|
||||||
"$mod, 3, workspace, 3"
|
"$mod, 3, workspace, 3"
|
||||||
"$mod, 4, workspace, 4"
|
"$mod, 4, workspace, 4"
|
||||||
"$mod, 5, workspace, 5"
|
"$mod, 5, workspace, 5"
|
||||||
"$mod, 6, workspace, 6"
|
"$mod, 6, workspace, 6"
|
||||||
"$mod, 7, workspace, 7"
|
"$mod, 7, workspace, 7"
|
||||||
"$mod, 8, workspace, 8"
|
"$mod, 8, workspace, 8"
|
||||||
"$mod, 9, workspace, 9"
|
"$mod, 9, workspace, 9"
|
||||||
|
|
||||||
"$mod SHIFT, 1, movetoworkspace, 1"
|
"$mod SHIFT, 1, movetoworkspace, 1"
|
||||||
"$mod SHIFT, 2, movetoworkspace, 2"
|
"$mod SHIFT, 2, movetoworkspace, 2"
|
||||||
"$mod SHIFT, 3, movetoworkspace, 3"
|
"$mod SHIFT, 3, movetoworkspace, 3"
|
||||||
"$mod SHIFT, 4, movetoworkspace, 4"
|
"$mod SHIFT, 4, movetoworkspace, 4"
|
||||||
"$mod SHIFT, 5, movetoworkspace, 5"
|
"$mod SHIFT, 5, movetoworkspace, 5"
|
||||||
"$mod SHIFT, 6, movetoworkspace, 6"
|
"$mod SHIFT, 6, movetoworkspace, 6"
|
||||||
"$mod SHIFT, 7, movetoworkspace, 7"
|
"$mod SHIFT, 7, movetoworkspace, 7"
|
||||||
"$mod SHIFT, 8, movetoworkspace, 8"
|
"$mod SHIFT, 8, movetoworkspace, 8"
|
||||||
"$mod SHIFT, 9, movetoworkspace, 9"
|
"$mod SHIFT, 9, movetoworkspace, 9"
|
||||||
|
|
||||||
#"bind = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
#"bind = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||||
#"bind = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
#"bind = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
#"bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
#"bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||||
#"bind = ,XF86AudioPlay, exec, playerctl play-pause"
|
#"bind = ,XF86AudioPlay, exec, playerctl play-pause"
|
||||||
#"bind = ,XF86AudioPrev, exec, playerctl previous"
|
#"bind = ,XF86AudioPrev, exec, playerctl previous"
|
||||||
#"bind = ,XF86AudioNext, exec, playerctl next"
|
#"bind = ,XF86AudioNext, exec, playerctl next"
|
||||||
];
|
];
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
"$mod, mouse:272, movewindow"
|
"$mod, mouse:272, movewindow"
|
||||||
"$mod, mouse:273, resizewindow"
|
"$mod, mouse:273, resizewindow"
|
||||||
"$mod ALT, mouse:272, resizewindow"
|
"$mod ALT, mouse:272, resizewindow"
|
||||||
];
|
];
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
rounding = 2;
|
rounding = 2;
|
||||||
};
|
};
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 8;
|
gaps_in = 8;
|
||||||
gaps_out = 8;
|
gaps_out = 8;
|
||||||
border_size = 1;
|
border_size = 1;
|
||||||
resize_on_border = true;
|
resize_on_border = true;
|
||||||
};
|
};
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "us";
|
kb_layout = "us";
|
||||||
natural_scroll = false;
|
natural_scroll = false;
|
||||||
};
|
};
|
||||||
gestures = {
|
gestures = {
|
||||||
workspace_swipe = true;
|
workspace_swipe = true;
|
||||||
workspace_swipe_forever = true;
|
workspace_swipe_forever = true;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
font_size 15.0
|
font_size 15.0
|
||||||
cursor_shape beam
|
cursor_shape beam
|
||||||
close_window
|
close_window
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
tmux = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
tmux = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,14 @@
|
|||||||
yamlls = {
|
yamlls = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
rust-analyzer = {
|
||||||
|
enable = true;
|
||||||
|
autostart = true;
|
||||||
|
};
|
||||||
|
clangd = {
|
||||||
|
enable = true;
|
||||||
|
autostart = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
keymaps = {
|
keymaps = {
|
||||||
silent = true;
|
silent = true;
|
||||||
|
@ -1,25 +1,25 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
bash = {
|
bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
bashrcExtra = ''
|
bashrcExtra = ''
|
||||||
PS1="\[\e[35m\][\u@\h:\w] % \[\e[0m\]"
|
PS1="\[\e[35m\][\u@\h:\w] % \[\e[0m\]"
|
||||||
eval "$(${pkgs.fzf}/bin/fzf --bash)"
|
eval "$(${pkgs.fzf}/bin/fzf --bash)"
|
||||||
alias rm="rm -rv"
|
alias rm="rm -rv"
|
||||||
alias mv="mv -v"
|
alias mv="mv -v"
|
||||||
alias ls="${pkgs.eza}/bin/eza -l --icons --absolute"
|
alias ls="${pkgs.eza}/bin/eza -l --icons --absolute"
|
||||||
alias mkdir="mkdir -pv"
|
alias mkdir="mkdir -pv"
|
||||||
alias http="python3 -m http.server 1337"
|
alias http="python3 -m http.server 1337"
|
||||||
alias update="sudo nixos-rebuild switch --flake /etc/nixos --impure"
|
alias update="sudo nixos-rebuild switch --flake /etc/nixos --impure"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "meml0rz";
|
userName = "meml0rz";
|
||||||
userEmail = "meml0rz";
|
userEmail = "meml0rz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,134 +1,147 @@
|
|||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
font-family: Terminus Nerd Font;
|
font-family: Terminus Nerd Font;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
/* background: rgba(17,17,27,1); */
|
/* background: rgba(17,17,27,1); */
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cava.left, #cava.right {
|
#cava.left,
|
||||||
/* background: #25253a; */
|
#cava.right {
|
||||||
|
/* background: #25253a; */
|
||||||
|
|
||||||
/*background: #25253a;*/
|
/*background: #25253a;*/
|
||||||
background: #010101;
|
background: #010101;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
color: #cba6f7;
|
color: #cba6f7;
|
||||||
}
|
}
|
||||||
#cava.left {
|
#cava.left {
|
||||||
border-radius: 24px 24px 24px 24px;
|
border-radius: 24px 24px 24px 24px;
|
||||||
}
|
}
|
||||||
#cava.right {
|
#cava.right {
|
||||||
border-radius: 10px 24px 10px 24px;
|
border-radius: 10px 24px 10px 24px;
|
||||||
}
|
}
|
||||||
#workspaces {
|
#workspaces {
|
||||||
background: #11111b;
|
background: #11111b;
|
||||||
margin: 5px 5px;
|
margin: 5px 5px;
|
||||||
padding: 8px 5px;
|
padding: 8px 5px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
color: #cba6f7
|
color: #cba6f7;
|
||||||
}
|
}
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
margin: 0px 3px;
|
margin: 0px 3px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
color: transparent;
|
color: transparent;
|
||||||
background: rgba(17,17,27,1);
|
background: rgba(17, 17, 27, 1);
|
||||||
transition: all 0.3s ease-in-out;
|
transition: all 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
background-color: #89b4fa;
|
background-color: #89b4fa;
|
||||||
color: #11111B;
|
color: #11111b;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
background-size: 400% 400%;
|
background-size: 400% 400%;
|
||||||
transition: all 0.3s ease-in-out;
|
transition: all 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
color: #11111B;
|
color: #11111b;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
background-size: 400% 400%;
|
background-size: 400% 400%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray, #pulseaudio, #network, #battery,
|
#tray,
|
||||||
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward{
|
#pulseaudio,
|
||||||
background: #010101;
|
#network,
|
||||||
font-weight: bold;
|
#battery,
|
||||||
margin: 5px 0px;
|
#custom-playerctl.backward,
|
||||||
opacity: 1;
|
#custom-playerctl.play,
|
||||||
|
#custom-playerctl.foward {
|
||||||
|
background: #010101;
|
||||||
|
font-weight: bold;
|
||||||
|
margin: 5px 0px;
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
#tray, #pulseaudio, #network, #battery{
|
#tray,
|
||||||
color: #f5f5f5;
|
#pulseaudio,
|
||||||
border-radius: 24px 24px 24px 24px;
|
#network,
|
||||||
padding: 0 20px;
|
#battery {
|
||||||
margin-left: 7px;
|
color: #f5f5f5;
|
||||||
|
border-radius: 24px 24px 24px 24px;
|
||||||
|
padding: 0 20px;
|
||||||
|
margin-left: 7px;
|
||||||
}
|
}
|
||||||
#clock {
|
#clock {
|
||||||
color: #f5f5f5;
|
color: #f5f5f5;
|
||||||
background: #010101;
|
background: #010101;
|
||||||
border-radius: 0px 0px 0px 40px;
|
border-radius: 0px 0px 0px 40px;
|
||||||
padding: 10px 10px 15px 25px;
|
padding: 10px 10px 15px 25px;
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
#custom-launcher {
|
#custom-launcher {
|
||||||
color: #89b4fa;
|
color: #89b4fa;
|
||||||
background: #010101;
|
background: #010101;
|
||||||
border-radius: 0px 0px 40px 0px;
|
border-radius: 0px 0px 40px 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px 35px 0px 15px;
|
padding: 0px 35px 0px 15px;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward {
|
#custom-playerctl.backward,
|
||||||
background: #010101;
|
#custom-playerctl.play,
|
||||||
font-size: 22px;
|
#custom-playerctl.foward {
|
||||||
|
background: #010101;
|
||||||
|
font-size: 22px;
|
||||||
}
|
}
|
||||||
#custom-playerctl.backward:hover, #custom-playerctl.play:hover, #custom-playerctl.foward:hover{
|
#custom-playerctl.backward:hover,
|
||||||
color: #f5f5f5;
|
#custom-playerctl.play:hover,
|
||||||
|
#custom-playerctl.foward:hover {
|
||||||
|
color: #f5f5f5;
|
||||||
}
|
}
|
||||||
#custom-playerctl.backward {
|
#custom-playerctl.backward {
|
||||||
color: #cba6f7;
|
color: #cba6f7;
|
||||||
border-radius: 24px 0px 0px 24px;
|
border-radius: 24px 0px 0px 24px;
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
}
|
}
|
||||||
#custom-playerctl.play {
|
#custom-playerctl.play {
|
||||||
color: #89b4fa;
|
color: #89b4fa;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
#custom-playerctl.foward {
|
#custom-playerctl.foward {
|
||||||
color: #cba6f7;
|
color: #cba6f7;
|
||||||
border-radius: 0px 24px 24px 0px;
|
border-radius: 0px 24px 24px 0px;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
margin-right: 7px
|
margin-right: 7px;
|
||||||
}
|
}
|
||||||
#custom-playerlabel {
|
#custom-playerlabel {
|
||||||
background: #010101;
|
background: #010101;
|
||||||
color: #f5f5f5;
|
color: #f5f5f5;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
border-radius: 24px 24px 24px 24px;
|
border-radius: 24px 24px 24px 24px;
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
#window{
|
#window {
|
||||||
/*background: #25253a; */
|
/*background: #25253a; */
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
opacity: 0.1;
|
opacity: 0.1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user