Consolidated a bunch of stuff into common home.

This commit is contained in:
vorboyvo 2025-12-03 14:51:23 -05:00
parent 3770e76f05
commit 2cfe93780f
3 changed files with 62 additions and 119 deletions

View file

@ -1,3 +1,5 @@
# de-lacadie
{ lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
@ -6,58 +8,9 @@
]; ];
home.stateVersion = "24.05"; home.stateVersion = "24.05";
# Configure default applications as per /snippets/defaults.nix
defaultPrograms = with pkgs; {
terminal = alacritty;
editor = kakoune;
browser = firefox;
mail = thunderbird;
};
# Install packages # Install packages
home.packages = with pkgs; home.packages = with pkgs;
let
overlay = (final: prev: {
olympus = prev.callPackage ../../pkgs/olympus/package.nix { };
olympus-unwrapped = prev.callPackage ../../pkgs/olympus-unwrapped/package.nix { };
});
in
(with (pkgs.extend overlay); [ olympus ]) ++
[
kak-lsp
brightnessctl
jq
blueman
] ++ # Basic utilities
[ bitwarden-cli htop snore hledger hledger-ui ]
++ # Personalized selection of command-line (CLI/TUI) apps
[
vlc
pavucontrol
] ++ # Basic graphical apps
[
libreoffice
signal-desktop
prismlauncher
mumble
gimp
inkscape
deluge-gtk
shotwell
lorien
keepassxc
zulip
filezilla
bitwarden
activate-linux
remmina
pinta
] ++ # Personalized selection of graphical apps
[ shticker-book-unwritten ] ++ # Games
[ bemenu j4-dmenu-desktop xclip xdotool ] ++ # i3 and x11 related packages
[ ] ++ # Temp [ ] ++ # Temp
[ ]; [ ];
programs.home-manager.enable = true;
} }

View file

@ -1,3 +1,5 @@
# randolph
{ pkgs, ... }: { pkgs, ... }:
rec { rec {
@ -6,77 +8,19 @@ rec {
]; ];
home.stateVersion = "23.11"; home.stateVersion = "23.11";
# Configure default applications as per /snippets/defaults.nix
defaultPrograms = with pkgs; {
terminal = alacritty;
editor = kakoune;
browser = firefox;
mail = thunderbird;
};
# Configure cursor # Configure cursor
home.pointerCursor.size = 256; home.pointerCursor.size = 256;
# Install packages # Install packages
home.packages = home.packages = with pkgs;
let # [
overlay = (final: prev: { # hunspell
olympus = prev.callPackage ../../pkgs/olympus/package.nix { }; # hunspellDicts.fr-any
olympus-unwrapped = prev.callPackage ../../pkgs/olympus-unwrapped/package.nix { }; # hunspellDicts.fr-moderne
}); # hunspellDicts.fr-classique
in # ] ++ # Spell checking
(with (pkgs.extend overlay); [ olympus ]) ++ [ ] ++ # Temp
(with pkgs; [ ];
[
blueman
kalker
tldr
] ++ # Basic utilities
[ htop snore catgirl ]
++ # Personalized selection of command-line (CLI/TUI) apps
[ defaultPrograms.terminal ] ++ # Terminal emulator
[
vlc
pavucontrol
font-manager
] ++ # Basic graphical apps
[
libreoffice
signal-desktop
prismlauncher
mumble
gimp
inkscape
deluge-gtk # Client BitTorrent
shotwell
lorien
keepassxc
zulip
filezilla
bitwarden-desktop
activate-linux
remmina
pinta
] ++ # Personalized selection of graphical apps
[
shticker-book-unwritten
] ++ # Games
[
hunspell
hunspellDicts.fr-any
hunspellDicts.fr-moderne
hunspellDicts.fr-classique
] ++ # Spell checking
[ keyutils ] ++ # Temp
[ ]);
programs.home-manager.enable = true;
# Fixes electron apps
home.sessionVariables =
{
NIXOS_OZONE_WL = "1";
};
services.batsignal = { services.batsignal = {
enable = true; enable = true;

View file

@ -15,10 +15,18 @@
./waybar.nix ./waybar.nix
./firefox.nix ./firefox.nix
./thunderbird.nix ./thunderbird.nix
./imv.nix # ./imv.nix
./zathura.nix ./zathura.nix
]; ];
# Configure default applications as per /snippets/defaults.nix
defaultPrograms = with pkgs; {
terminal = alacritty;
editor = kakoune;
browser = firefox;
mail = thunderbird;
};
home.username = "alice"; home.username = "alice";
home.homeDirectory = "/home/alice"; home.homeDirectory = "/home/alice";
@ -48,12 +56,42 @@
}; };
}; };
home.packages = with pkgs; home.packages = with pkgs;
let
overlay = (final: prev: {
olympus = prev.callPackage ../pkgs/olympus/package.nix { };
olympus-unwrapped = prev.callPackage ../pkgs/olympus-unwrapped/package.nix { };
});
in
(with (pkgs.extend overlay); [ olympus ]) ++
[ kalker tldr htop snore ] ++ # Basic CLI/TUI utilities
[ catgirl hledger hledger-ui ] ++ # Selection of CLI/TUI apps
[ blueman pavucontrol font-manager ] ++ # Basic graphical utilities
[
libreoffice
signal-desktop
mumble
gimp
inkscape
deluge-gtk
shotwell
lorien
keepassxc
zulip
filezilla
bitwarden-desktop
activate-linux
remmina
pinta
] ++ # Selection of graphical apps
[
prismlauncher
shticker-book-unwritten
] ++ # Games
[ marksman nil ] ++ # Language servers for built in languages [ marksman nil ] ++ # Language servers for built in languages
[ texliveFull texlab ] ++ # LaTeX - remove this eventually and put it in dev [ texliveFull texlab ] ++ # LaTeX - remove this eventually and put it in dev
# envs # envs
[ xdg-terminal-exec glib upower ] ++ [ xdg-terminal-exec glib upower xfce.tumbler xfce.ristretto hledger ] ++
(let (let
archivo = callPackage ../pkgs/archivo/archivo.nix { }; archivo = callPackage ../pkgs/archivo/archivo.nix { };
highway-gothic = callPackage ../pkgs/highway-gothic/highway-gothic.nix { }; highway-gothic = callPackage ../pkgs/highway-gothic/highway-gothic.nix { };
@ -79,8 +117,16 @@
]) ++ # Fonts ]) ++ # Fonts
[]; [];
programs.home-manager.enable = true;
# terminal emulator # terminal emulator
programs.alacritty.enable = true; programs.alacritty.enable = true;
programs.pandoc.enable = true; programs.pandoc.enable = true;
# Fixes electron apps
home.sessionVariables =
{
NIXOS_OZONE_WL = "1";
};
} }