properly reformat all files

This commit is contained in:
2025-04-14 10:37:58 +02:00
parent d670e245e4
commit 725588ec9b
26 changed files with 920 additions and 776 deletions

View File

@ -1,14 +1,20 @@
{ self, impurity, inputs, ... }: {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "bak";
extraSpecialArgs = {
inherit inputs self impurity;
};
{
self,
impurity,
inputs,
...
}:
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "bak";
extraSpecialArgs = {
inherit inputs self impurity;
};
users = {
sadorowo = ./hulk;
};
};
users = {
sadorowo = ./hulk;
};
};
}

View File

@ -1,24 +1,24 @@
{ pkgs, ... }:
let
username = "sadorowo";
homeDirectory = "/home/${username}";
in {
imports = [
./packages.nix
./programs.nix
./theme.nix
];
username = "sadorowo";
homeDirectory = "/home/${username}";
in
{
imports = [
./packages.nix
./programs.nix
./theme.nix
];
home = {
inherit username homeDirectory;
sessionVariables = {
NIXOS_OZONE_WL = "1";
TZ = "Europe/Warsaw";
};
};
home = {
inherit username homeDirectory;
sessionVariables = {
NIXOS_OZONE_WL = "1";
TZ = "Europe/Warsaw";
};
};
programs.home-manager.enable = true;
home.stateVersion = "24.11";
programs.home-manager.enable = true;
home.stateVersion = "24.11";
}

View File

@ -1,32 +1,32 @@
{
webcopy = ''
set -l domain (string trim $argv)
get --recursive \
--level 5 \
--no-clobber \
--page-requisites \
--adjust-extension \
--span-hosts \
--convert-links \
--domains $domain \
--no-parent \
$domain
'';
webcopy = ''
set -l domain (string trim $argv)
get --recursive \
--level 5 \
--no-clobber \
--page-requisites \
--adjust-extension \
--span-hosts \
--convert-links \
--domains $domain \
--no-parent \
$domain
'';
venv = ''
if [ -d .venv ]; then
source .venv/bin/activate.fish
else
python -m venv .venv
source .venv/bin/activate.fish
fi
'';
venv = ''
if [ -d .venv ]; then
source .venv/bin/activate.fish
else
python -m venv .venv
source .venv/bin/activate.fish
fi
'';
thunderbird = ''
if pgrep -x birdtray > /dev/null
birdtray -s
else
birdtray &
end
'';
thunderbird = ''
if pgrep -x birdtray > /dev/null
birdtray -s
else
birdtray &
end
'';
}

View File

@ -1,40 +1,45 @@
{ pkgs, inputs, ... }:
{
home.packages = with pkgs; [
pywal pywalfox-native
home.packages = with pkgs; [
pywal
pywalfox-native
(python3.withPackages (py: with py; [
pywayland
]))
(python3.withPackages (
py: with py; [
pywayland
]
))
(birdtray.overrideAttrs (_: {
cmakeFlags = [ "-DOPT_THUNDERBIRD_CMDLINE=${thunderbird}/bin/thunderbird" ];
}))
(birdtray.overrideAttrs (_: {
cmakeFlags = [ "-DOPT_THUNDERBIRD_CMDLINE=${thunderbird}/bin/thunderbird" ];
}))
jq
starship
element-desktop
firefox-beta-bin
thunderbird-bin
youtube-music
libreoffice-qt6-fresh
gimp
vscodium git nodejs postgresql
fprintd
cups
fish
anydesk
fastfetch
playerctl
adwaita-icon-theme
android-tools
filezilla
bitwarden-desktop
davinci-resolve
mpv
wget
sshfs
];
jq
starship
element-desktop
firefox-beta-bin
thunderbird-bin
youtube-music
libreoffice-qt6-fresh
gimp
vscodium
git
nodejs
postgresql
fprintd
cups
fish
anydesk
fastfetch
playerctl
adwaita-icon-theme
android-tools
filezilla
bitwarden-desktop
davinci-resolve
mpv
wget
sshfs
];
}

View File

@ -1,75 +1,90 @@
{ inputs, pkgs, ... }:
{ inputs, pkgs, ... }:
{
imports = [
# DEs
../../modules/desktop-environments/hyprland.nix
imports = [
# DEs
../../modules/desktop-environments/hyprland.nix
# Utilities + apps
../../modules/home-manager/darkman.nix
../../modules/home-manager/fish.nix
# Utilities + apps
../../modules/home-manager/darkman.nix
../../modules/home-manager/fish.nix
# Home Manager modules
inputs.ags.homeManagerModules.default
];
# Home Manager modules
inputs.ags.homeManagerModules.default
];
modules.hyprland = {
enable = true;
additionalPackages = with pkgs; [ hyprshot ];
plugins = with pkgs.hyprlandPlugins; [ hyprspace ];
sourceFiles = [
"~/.config/hypr/config/animations.conf"
"~/.config/hypr/config/autostart.conf"
"~/.config/hypr/config/binds.conf"
"~/.config/hypr/config/io.conf"
"~/.config/hypr/config/misc.conf"
"~/.config/hypr/config/rules.conf"
"~/.config/hypr/config/workspaces.conf"
];
modules.hyprland = {
enable = true;
additionalPackages = with pkgs; [ hyprshot ];
plugins = with pkgs.hyprlandPlugins; [ hyprspace ];
sourceFiles = [
"~/.config/hypr/config/animations.conf"
"~/.config/hypr/config/autostart.conf"
"~/.config/hypr/config/binds.conf"
"~/.config/hypr/config/io.conf"
"~/.config/hypr/config/misc.conf"
"~/.config/hypr/config/rules.conf"
"~/.config/hypr/config/workspaces.conf"
];
additionalConfig = {
"$terminal" = "alacritty";
"$fileManager" = "thunar";
"$browser" = "firefox-beta";
"$email" = "thunderbird";
"$shell" = "fish";
additionalConfig = {
"$terminal" = "alacritty";
"$fileManager" = "thunar";
"$browser" = "firefox-beta";
"$email" = "thunderbird";
"$shell" = "fish";
"$screenshot_dir" = "$HOME/images/screenshots";
};
};
modules.darkman = {
enable = true;
customLightModeScript = "$HOME/.config/hypr/scripts/random-wallpaper.sh";
customDarkModeScript = "$HOME/.config/hypr/scripts/random-wallpaper.sh";
"$screenshot_dir" = "$HOME/images/screenshots";
};
modules.fish = {
enable = true;
enableStarship = true;
functions = import ./fish-functions.nix;
};
};
programs.pywal.enable = true;
programs.ags = {
enable = true;
extraPackages = with inputs.ags.packages.${pkgs.system}; [
apps battery bluetooth greet hyprland mpris network notifd powerprofiles tray wireplumber
] ++ [
pkgs.dart-sass pkgs.fzf pkgs.icon-library
];
};
modules.darkman = {
enable = true;
customLightModeScript = "$HOME/.config/hypr/scripts/random-wallpaper.sh";
customDarkModeScript = "$HOME/.config/hypr/scripts/random-wallpaper.sh";
};
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-source-clone
obs-pipewire-audio-capture
#advanced-scene-switcher
obs-tuna
obs-move-transition
waveform
wlrobs
];
};
modules.fish = {
enable = true;
enableStarship = true;
functions = import ./fish-functions.nix;
};
programs.pywal.enable = true;
programs.ags = {
enable = true;
extraPackages =
with inputs.ags.packages.${pkgs.system};
[
apps
battery
bluetooth
greet
hyprland
mpris
network
notifd
powerprofiles
tray
wireplumber
]
++ [
pkgs.dart-sass
pkgs.fzf
pkgs.icon-library
];
};
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-source-clone
obs-pipewire-audio-capture
#advanced-scene-switcher
obs-tuna
obs-move-transition
waveform
wlrobs
];
};
}

View File

@ -1,37 +1,39 @@
{ pkgs, inputs, ... }:
let
nerdfonts = (pkgs.nerdfonts.override {
fonts = [
"CascadiaCode"
"JetBrainsMono"
"FiraCode"
"SpaceMono"
];
});
nerdfonts = (
pkgs.nerdfonts.override {
fonts = [
"CascadiaCode"
"JetBrainsMono"
"FiraCode"
"SpaceMono"
];
}
);
cursor-theme = "Bibata-Modern-Classic";
cursor-pkg = pkgs.bibata-cursors;
cursor-theme = "Bibata-Modern-Classic";
cursor-pkg = pkgs.bibata-cursors;
in
{
home = {
packages = with pkgs; [
material-symbols
noto-fonts
noto-fonts-cjk-sans
bibata-cursors
];
sessionVariables = {
XCURSOR_THEME = cursor-theme;
XCURSOR_SIZE = "24";
};
pointerCursor = {
package = cursor-pkg;
name = cursor-theme;
size = 24;
gtk.enable = true;
};
};
home = {
packages = with pkgs; [
material-symbols
noto-fonts
noto-fonts-cjk-sans
bibata-cursors
];
sessionVariables = {
XCURSOR_THEME = cursor-theme;
XCURSOR_SIZE = "24";
};
pointerCursor = {
package = cursor-pkg;
name = cursor-theme;
size = 24;
gtk.enable = true;
};
};
}