Trippyfox
Some checks failed
/ check (push) Failing after 9s

This commit is contained in:
Daniel Flanagan 2025-02-14 16:44:13 -06:00
parent a98bfd21b1
commit e01a554b18
3 changed files with 76 additions and 287 deletions

View file

@ -25,6 +25,7 @@ in
senpai
iex
cargo
desktop
/*
broot
@ -184,97 +185,6 @@ in
config.lib.file.mkOutOfStoreSymlink /etc/nixos/modules/home-manager/eww;
};
mako =
{
config,
pkgs,
...
}:
{
services.mako = {
enable = true;
extraConfig = with style.colors.withHashPrefix; ''
border-size=2
border-radius=5
padding=10,15
max-visible=5
default-timeout=15000
font=Symbols Nerd Font ${toString style.font.size},${style.font.name} ${toString style.font.size}
anchor=top-right
on-notify=exec ${pkgs.mpv}/bin/mpv --volume=50 ~/.notify.wav
actions=1
icons=1
width=400
height=150
background-color=${bg}DD
text-color=${text}
border-color=${primary}
progress-color=${primary}
[urgency=high]
border-color=${urgent}
[urgency=high]
background-color=${urgent}EE
border-color=${urgent}
text-color=${bg}
'';
};
};
tofi =
{
config,
pkgs,
...
}:
{
programs.tofi = {
enable = true;
settings = {
font = "${pkgs.iosevkaLyteTerm}/share/fonts/truetype/IosevkaLyteTerm-regular.ttf";
font-size = 12;
text-color = "#f8f8f8";
prompt-color = "#f38ba8";
selection-color = "#66d9ef";
background-color = "#1e1e2e";
outline-width = 0;
border-width = 1;
border-color = "#66d9ef";
width = 640;
height = 400;
fuzzy-match = "true";
};
};
};
broot = { };
emacs =
{ pkgs, ... }:
{
programs.emacs = {
enable = false;
/*
extraConfig = ''
'';
*/
extraPackages =
epkgs:
(with epkgs; [
magit
]);
};
programs.fish = {
shellAliases = {
e = "emacs";
};
};
};
cargo =
{ config, ... }:
{
@ -298,13 +208,12 @@ in
{
config = lib.mkIf config.lyte.desktop {
imports = with homeManagerModules; [
firefox
ghostty
];
};
};
# ewwbar = {};
firefox = import ./firefox.nix;
fish = import ./fish.nix;
@ -1198,52 +1107,6 @@ in
};
};
hyprland = {
imports = with homeManagerModules; [
tofi
mako
eww
(import ./hyprland.nix)
];
};
niri =
{
pkgs,
config,
...
}:
{
home.packages = with pkgs; [
niri
fuzzel
# xdg-desktop-portal-gnome
# xdg-desktop-portal-gtk
];
services.gnome-keyring.enable = true;
# xdg.portal = {
# enable = true;
# extraPortals = with pkgs; [xdg-desktop-portal-gtk xdg-desktop-portal-gnome];
# config = {
# common = {
# default = ["gtk"];
# };
# niri = {
# default = ["gtk"];
# };
# };
# };
home.file."${config.xdg.configHome}/niri" = {
source = config.lib.file.mkOutOfStoreSymlink /etc/nixos/modules/home-manager/niri;
};
home.file."${config.xdg.configHome}/fuzzel" = {
source = config.lib.file.mkOutOfStoreSymlink /etc/nixos/modules/home-manager/fuzzel;
};
};
iex = {
home.file.".iex.exs" = {
enable = true;
@ -1283,14 +1146,16 @@ in
# kitty = {};
linux =
{ pkgs, ... }:
{
home = {
sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
};
};
pkgs,
config,
lib,
...
}:
{
imports = [
{
config = lib.mkIf config.lyte.shell {
programs.fish = {
shellAliases = {
disks = "df -h && lsblk";
@ -1318,59 +1183,10 @@ in
})
];
};
linux-desktop-environment-config =
{
pkgs,
# font,
...
}:
{
imports = with homeManagerModules; [
linux
desktop
firefox
];
gtk.theme = {
name = "catppuccin-mocha-blue-compact+default";
package =
(pkgs.catppuccin-gtk.overrideAttrs {
src = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "gtk";
rev = "v1.0.3";
fetchSubmodules = true;
hash = "sha256-q5/VcFsm3vNEw55zq/vcM11eo456SYE5TQA3g2VQjGc=";
};
postUnpack = "";
}).override
{
accents = [ "sapphire" ];
variant = "mocha";
size = "compact";
};
};
home.pointerCursor = {
name = "Bibata-Modern-Classic";
package = pkgs.bibata-cursors;
size = 40; # TODO: this doesn't seem to work -- at least in Sway
# some icons are also missing (hand2?)
};
};
macos = {
imports = with homeManagerModules; [
desktop
# password-manager
}
];
};
# mako = {};
# nnn = {};
password-manager =
{ pkgs, ... }:
{
@ -1398,10 +1214,10 @@ in
};
senpai =
{ config, ... }:
{ lib, config, ... }:
{
config = lib.mkIf config.programs.senpai.enable {
programs.senpai = {
enable = true;
config = {
address = "irc+insecure://beefcake.hare-cod.ts.net:6667";
nickname = "lytedev";
@ -1421,47 +1237,12 @@ in
'';
};
};
sway = {
imports = [
{
_module.args = {
inherit style;
};
}
./waybar.nix
./swaylock.nix
./sway.nix
];
};
/*
sway-laptop = {};
swaylock = {};
tmux = {};
wallpaper-manager = {};
waybar = {};
*/
wezterm =
{
pkgs,
config,
...
}:
{
home.packages = with pkgs; [
wezterm
];
home.file."${config.xdg.configHome}/wezterm" = {
source = config.lib.file.mkOutOfStoreSymlink /etc/nix/flake/modules/home-manager/wezterm;
};
};
ghostty =
{
pkgs,
lib,
config,
...
}:

View file

@ -1,7 +1,13 @@
{ pkgs, ... }:
{
enable = true;
home = {
sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
};
};
programs.firefox = {
enable = true;
profileVersion = null;
package = pkgs.firefox.override {
nativeMessagingHosts = with pkgs; [ bitwarden ];

View file

@ -72,19 +72,21 @@ let
};
users = {
root = {
home.stateVersion = lib.mkDefault config.system.stateVersion;
imports = with self.outputs.homeManagerModules; [
common
];
};
daniel = {
home.stateVersion = lib.mkDefault config.system.stateVersion;
imports = with self.outputs.homeManagerModules; [
daniel
common
];
};
# root = {
# home.stateVersion = lib.mkDefault config.system.stateVersion;
# imports = with self.outputs.homeManagerModules; [
# common
# linux
# ];
# };
# daniel = {
# home.stateVersion = lib.mkDefault config.system.stateVersion;
# imports = with self.outputs.homeManagerModules; [
# common
# linux
# daniel
# ];
# };
};
};