chore(fighter): remove unused files

This commit is contained in:
Guz
2025-02-05 10:23:24 -03:00
parent 9b5c1bf192
commit 5a8ef0749f
3 changed files with 0 additions and 205 deletions

View File

@@ -1,50 +0,0 @@
{
config,
pkgs,
lib,
...
}: let
wallpaper = ../../static/guz-wallpaper-default.png;
desktop-boot = pkgs.writeShellScriptBin "desktop-boot" ''
function eww() { ${config.programs.eww.package}/bin/eww "$@"; }
function swww() { ${pkgs.swww}/bin/swww "$@"; }
function swww-daemon() { ${pkgs.swww}/bin/swww-daemon "$@"; }
if [[ "$(eww ping)" -ne "pong" ]]; then
eww daemon &> /dev/null
fi
eww close-all
eww open bar-full
eww reload
(swww-daemon &> /dev/null) & swww img "${/. + wallpaper}"
'';
in
with lib; {
imports = [
../battleship/desktop
];
programs.hyprland.settings = let
monitor-1 = "eDP-1";
in {
exec = mkForce [
"${desktop-boot}/bin/desktop-boot"
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"${pkgs.wl-clipboard}/bin/wl-paste --type text --watch ${pkgs.cliphist}/bin/cliphist store"
"${pkgs.wl-clipboard}/bin/wl-paste --type image --watch ${pkgs.cliphist}/bin/cliphist store"
];
monitor = mkForce [
"${monitor-1},1366x768,0x0,1"
];
env = mkForce [];
workspace = mkForce [
"1,monitor:${monitor-1},default:true"
"2,monitor:${monitor-1}"
"3,monitor:${monitor-1}"
"4,monitor:${monitor-1}"
"5,monitor:${monitor-1}"
];
};
}

View File

@@ -1,110 +0,0 @@
{
config,
pkgs,
inputs,
...
} @ args: {
imports = [
inputs.rec-sh.homeManagerModules.rec-sh
inputs.dot013-neovim.homeManagerModules.neovim
inputs.dot013-environment.homeManagerModule
];
programs.rec-sh.enable = true;
dot013.environment.enable = true;
dot013.environment.tmux.sessionizer.paths = ["~/.projects"];
dot013.environment.ssh.devices = {
"spacestation" = {
hostname = "${args.osConfig.battleship-secrets.lesser.devices.spacestation}";
};
"figther" = {
hostname = "${args.osConfig.battleship-secrets.lesser.devices.figther}";
};
"battleship" = {
hostname = "${args.osConfig.battleship-secrets.lesser.devices.battleship}";
};
};
programs.brave.enable = true;
programs.brave.extensions = [
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";}
{id = "eimadpbcbfnmbkopoojfekhnkhdbieeh";}
];
librewolf = {
enable = true;
profiles = {
guz = {
id = 0;
settings = {
"webgl.disabled" = false;
"browser.startup.homepage" = "https://search.brave.com";
"privacy.clearOnShutdown.history" = false;
"privacy.clearOnShutdown.downloads" = false;
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
"privacy.clearOnShutdown.cookies" = false;
};
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
canvasblocker
clearurls
darkreader
facebook-container
multi-account-containers
libredirect
simplelogin
smart-referer
sponsorblock
tridactyl
ublock-origin
];
};
};
};
home.file."${config.home.homeDirectory}".text = ''
prefix = $${HOME}/.npm-packages
'';
programs.zsh.initExtra = ''
export PATH=~/.npm-packages/bin:$PATH
'';
services.flatpak.enable = true;
xdg.portal.enable = true;
xdg.portal.extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
xdg.portal.config = {
common.default = ["gtk"];
};
xdg.portal.xdgOpenUsePortal = true;
services.flatpak.packages = [
"nz.mega.MEGAsync"
"com.bitwarden.desktop"
"org.mozilla.Thunderbird"
];
services.easyeffects.enable = true;
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfreePredicate = _: true;
home.packages = with pkgs;
[
ungoogled-chromium
pavucontrol
libreoffice
pinentry
gnome.nautilus
ferdium
act
showmethekey
bluetuith
]
++ (with inputs.dot013-shell.packages.${pkgs.system}; [
neovim
yazi
zellij
]);
}

View File

@@ -1,45 +0,0 @@
{
config,
inputs,
lib,
pkgs,
...
}: let
lesser-secrets = with builtins;
fromJSON (readFile ../../secrets/battleship-secrets.lesser.decrypted.json);
jsonType = pkgs.formats.json {};
in {
imports = [
inputs.sops-nix.nixosModules.sops
];
options.battleship-secrets = with lib;
with lib.types; {
lesser = mkOption {
type = submodule ({...}: {
freeformType = jsonType.type;
options = {};
});
default = lesser-secrets;
};
};
config = {
environment.systemPackages = with pkgs; [
sops
];
sops.defaultSopsFile = ../../secrets/battleship-secrets.yaml;
sops.defaultSopsFormat = "yaml";
sops.secrets.lon = {
owner = config.users.users.guz.name;
};
sops.secrets.lat = {
owner = config.users.users.guz.name;
};
sops.secrets."guz/password" = {
owner = config.users.users.guz.name;
};
sops.age.keyFile = "/home/guz/.config/sops/age/keys.txt";
};
}