Compare commits
7 commits
a9c05e5041
...
3d7f627d3b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d7f627d3b | ||
|
|
dcdb94250c | ||
|
|
6b2d319deb | ||
|
|
ba8c71efcf | ||
|
|
cdeee496e2 | ||
|
|
ef45e9c6c9 | ||
|
|
fc749306a0 |
12 changed files with 66 additions and 114 deletions
|
|
@ -3,11 +3,12 @@
|
||||||
|
|
||||||
# Graphical setup
|
# Graphical setup
|
||||||
./ags # ToDo: get codin :3
|
./ags # ToDo: get codin :3
|
||||||
# ./waybar
|
|
||||||
./hyprland
|
./hyprland
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
|
||||||
|
./env.nix
|
||||||
|
|
||||||
./alacritty.nix
|
./alacritty.nix
|
||||||
./clipman.nix
|
./clipman.nix
|
||||||
|
|
@ -15,12 +16,14 @@
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
|
./gaming
|
||||||
./git.nix
|
./git.nix
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
./helix.nix
|
./helix.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./playerctld.nix
|
./playerctld.nix
|
||||||
./sops.nix
|
./sops.nix
|
||||||
|
./ssh.nix
|
||||||
./thunderbird.nix
|
./thunderbird.nix
|
||||||
./zsh
|
./zsh
|
||||||
];
|
];
|
||||||
|
|
|
||||||
14
home/env.nix
Normal file
14
home/env.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{conf, config, pkgs, ...}: {
|
||||||
|
home = {
|
||||||
|
file.inbox.source = config.lib.file.mkOutOfStoreSymlink "/home/${conf.user}/sync/inbox";
|
||||||
|
|
||||||
|
shellAliases = {
|
||||||
|
cat = "bat -p";
|
||||||
|
"." = "source";
|
||||||
|
ls = "${pkgs.eza}/bin/eza -g --git --group-directories-first";
|
||||||
|
ll = "${pkgs.eza}/bin/eza -l";
|
||||||
|
la = "${pkgs.eza}/bin/eza -la";
|
||||||
|
grep = "grep --color=auto";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,11 +1,6 @@
|
||||||
{ pkgs, arkenfox, ...}: {
|
{ pkgs, arkenfox, ...}: {
|
||||||
imports = [arkenfox.hmModules.arkenfox];
|
imports = [arkenfox.hmModules.arkenfox];
|
||||||
|
|
||||||
home.file.".mozilla/firefox/ChatGPT/chrome/userChrome.css".text = ''
|
|
||||||
#TabsToolbar { visibility: collapse !important; }
|
|
||||||
#nav-bar { visibility: collapse !important; }
|
|
||||||
'';
|
|
||||||
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
@ -27,7 +22,6 @@
|
||||||
OfferToSaveLogins = false;
|
OfferToSaveLogins = false;
|
||||||
PasswordManagerEnabled = false;
|
PasswordManagerEnabled = false;
|
||||||
|
|
||||||
DisablePrivateBrowsing = true;
|
|
||||||
DisableSetDesktopBackground = true;
|
DisableSetDesktopBackground = true;
|
||||||
DisableTelemetry = true;
|
DisableTelemetry = true;
|
||||||
DisableFirefoxScreenshots = true;
|
DisableFirefoxScreenshots = true;
|
||||||
|
|
@ -42,8 +36,6 @@
|
||||||
SearchBar = "unified";
|
SearchBar = "unified";
|
||||||
SearchSuggestEnabled = false;
|
SearchSuggestEnabled = false;
|
||||||
DownloadDirectory = "/home/lilith/sync/inbox";
|
DownloadDirectory = "/home/lilith/sync/inbox";
|
||||||
|
|
||||||
SanitizeOnShutdown = true;
|
|
||||||
|
|
||||||
Containers = {
|
Containers = {
|
||||||
"Default" = [
|
"Default" = [
|
||||||
|
|
|
||||||
26
home/games/awakened-poe-trading/awakened-poe-trading.nix
Normal file
26
home/games/awakened-poe-trading/awakened-poe-trading.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ pkgs }:
|
||||||
|
let
|
||||||
|
appimage = pkgs.appimageTools.wrapType2 {
|
||||||
|
pname = "awakened-poe-trade";
|
||||||
|
version = "3.24.10004";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://github.com/SnosMe/awakened-poe-trade/releases/download/v3.24.10004/Awakened-PoE-Trade-3.24.10004.AppImage";
|
||||||
|
hash = "sha256-0FSePkDZYCU32EUpyymuSIGcRXUomIOrd38QPMaFV4E=";
|
||||||
|
};
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/SnosMe/awakened-poe-trade";
|
||||||
|
description = "💲 🔨 Path of Exile trading app for price checking";
|
||||||
|
platforms = pkgs.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
desktopItem = pkgs.makeDesktopItem {
|
||||||
|
name = "AwakenedPoETrade";
|
||||||
|
exec = appimage.name;
|
||||||
|
icon = "${appimage}/awakened-poe-trade.png";
|
||||||
|
desktopName = "Awakened PoE Trade";
|
||||||
|
comment = appimage.meta.description;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
inherit appimage desktopItem;
|
||||||
|
}
|
||||||
8
home/games/awakened-poe-trading/default.nix
Normal file
8
home/games/awakened-poe-trading/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs, ...}: let
|
||||||
|
awakened-poe-trade = pkgs.callPackage ./awakened-poe-trade.nix;
|
||||||
|
in {
|
||||||
|
home.packages = [
|
||||||
|
awakened-poe-trade.app
|
||||||
|
awakened-poe-trade.desktop
|
||||||
|
];
|
||||||
|
}
|
||||||
6
home/games/default.nix
Normal file
6
home/games/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{ lib, system-config, ...}: {
|
||||||
|
imports = [
|
||||||
|
] ++ lib.optionals system-config.gaming [
|
||||||
|
./awakened-poe-trading
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
"$terminal" = "alacritty";
|
"$terminal" = "alacritty";
|
||||||
"$fileManager" = "alacritty -e ranger";
|
|
||||||
|
|
||||||
env = [
|
env = [
|
||||||
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
|
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
|
||||||
|
|
|
||||||
|
|
@ -31,11 +31,13 @@
|
||||||
htop
|
htop
|
||||||
|
|
||||||
ollama
|
ollama
|
||||||
|
zoom-us
|
||||||
];
|
];
|
||||||
|
|
||||||
gaming = with pkgs; [
|
gaming = with pkgs; [
|
||||||
prismlauncher
|
prismlauncher
|
||||||
lutris
|
lutris
|
||||||
|
steamtinkerlaunch
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
common ++ (lib.optionals system-config.gaming.enable gaming);
|
common ++ (lib.optionals system-config.gaming.enable gaming);
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
".local/share/PrismLauncher"
|
".local/share/PrismLauncher"
|
||||||
".local/share/Steam"
|
".local/share/Steam"
|
||||||
".local/share/lutris"
|
".local/share/lutris"
|
||||||
|
".local/share/games"
|
||||||
];
|
];
|
||||||
files = [];
|
files = [];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
4
home/ssh.nix
Normal file
4
home/ssh.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
{...}:{
|
||||||
|
services.ssh-agent.enable = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1,93 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
pavucontrol
|
|
||||||
playerctl
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.waybar = {
|
|
||||||
enable = true;
|
|
||||||
systemd.enable = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
default = {
|
|
||||||
layer = "top";
|
|
||||||
position = "top";
|
|
||||||
|
|
||||||
module-left = ["clock" "hyprland/workspaces" "wlr/taskbar"];
|
|
||||||
modules-center = ["custom/playerctl"];
|
|
||||||
modules-right = ["hyprland/language" "tray" "pulseaudio" "temperature" "battery"];
|
|
||||||
|
|
||||||
clock = {
|
|
||||||
format = "{:%Y-%m-%d}";
|
|
||||||
};
|
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
|
||||||
active-only = false;
|
|
||||||
all-outputs = true;
|
|
||||||
disable-scroll = false;
|
|
||||||
on-scroll-up = "hyprctl dispatch workspace -1";
|
|
||||||
on-scroll-down = "hyprctl dispatch workspace +1";
|
|
||||||
|
|
||||||
format = "{number}";
|
|
||||||
on-click = "activate";
|
|
||||||
|
|
||||||
sort-by = "number";
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/playerctl" = {
|
|
||||||
format = "{text}";
|
|
||||||
return-type = "json";
|
|
||||||
max-length = 64;
|
|
||||||
|
|
||||||
on-click-middle = "playerctl play-pause";
|
|
||||||
on-click = "playerctl previous";
|
|
||||||
on-click-right = "playerctl next";
|
|
||||||
|
|
||||||
format-icons = {
|
|
||||||
Playing = "<span foreground='#E5B9C6'> </span>";
|
|
||||||
Paused = "<span foreground='#928374'> </span>";
|
|
||||||
};
|
|
||||||
|
|
||||||
interval = 5;
|
|
||||||
|
|
||||||
exec = ''
|
|
||||||
playerctl -a metadata --format '{"text": "{{artist}} - {{markup_escape(title)}}", "tooltip": "{{playerName}} : {{markup_escape(title)}}", "alt": "{{status}}", "class": "{{status}}"}'
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
pulseaudio = {
|
|
||||||
format = "<span font='Font Awesome 5 Free 11'>{icon:2}</span> {volume:4}% - {desc}";
|
|
||||||
format-bluetooth = "<span font='Font Awesome 5 Free 11'> {icon:2}</span> {volume:4}% - {desc}";
|
|
||||||
format-alt = "<span font='Font Awesome 5 Free 11'>{icon:2}</span> {volume:4}%";
|
|
||||||
format-alt-click = "click-right";
|
|
||||||
format-muted = "<span font='Font Awesome 5 Free 11'></span>";
|
|
||||||
format-icons = {
|
|
||||||
headphone = [" " " " " " " "];
|
|
||||||
default = ["" "" "" ""];
|
|
||||||
};
|
|
||||||
scroll-step = 2;
|
|
||||||
on-click = "pavucontrol";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
battery = {
|
|
||||||
states = {
|
|
||||||
good = 90;
|
|
||||||
warning = 30;
|
|
||||||
critical = 15;
|
|
||||||
};
|
|
||||||
format = "{icon} {capacity}%";
|
|
||||||
format-charging = " {icon}{capacity}%";
|
|
||||||
format-plugged = " {capacity}%";
|
|
||||||
format-alt = "{icon} {time}";
|
|
||||||
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
|
||||||
};
|
|
||||||
|
|
||||||
tray = {
|
|
||||||
"icon-size" = 18;
|
|
||||||
"spacing" = 18;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +1,4 @@
|
||||||
{pkgs, ...}: let
|
{pkgs, ...}: {
|
||||||
aliases = {
|
|
||||||
"." = "source";
|
|
||||||
ls = "EXA_COLORS='xx=2;37' ${pkgs.eza}/bin/eza -g --git --group-directories-first";
|
|
||||||
l = "ls -aal";
|
|
||||||
atree = "ls -alT";
|
|
||||||
tree = "ls -lT";
|
|
||||||
grep = "grep --color=auto";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
|
|
@ -34,6 +25,5 @@ in {
|
||||||
|
|
||||||
zstyle ':completion:*' menu select
|
zstyle ':completion:*' menu select
|
||||||
'';
|
'';
|
||||||
shellAliases = aliases;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue