Refactor codebase to use nix modules

This commit is contained in:
Julia Lange 2024-04-14 05:40:02 -07:00
parent a4735423b4
commit ffada2703c
114 changed files with 1018 additions and 744 deletions

54
systems/pan/default.nix Normal file
View file

@ -0,0 +1,54 @@
{ config, pkgs, ... }:
{
home.username = "pan";
nixpkgs.config.allowUnfree = true;
home.stateVersion = "23.05";
hypr.enable = true;
ags.enable = true;
rofi.enable = true;
timer.enableHourly = true;
timer.enableQuarterly = true;
colors.enable = true;
manpages.enable = true;
zsh.enable = true;
kitty.enable = true;
kitty.font = "Cascadia Code";
git.enable = true;
git.username = "Julia Lange";
git.email = "public@julialange.org";
ssh.enable = true;
mpv.enable = true;
zathura.enable = true;
feh.enable = true;
neovim.enable = true;
lf.enable = true;
lf.hiddenfiles = [
"${config.home.homeDirectory}/.librewolf"
"${config.home.homeDirectory}/.nix-defexpr"
"${config.home.homeDirectory}/.nix-profile"
"${config.home.homeDirectory}/.nv"
"${config.home.homeDirectory}/.pki"
"${config.home.homeDirectory}/.steam*"
"${config.home.homeDirectory}/.zshenv"
];
gimp.enable = true;
beeper.enable = true;
discord.enable = true;
lutris.enable = true;
extraPkgs = with pkgs; [
# Applications
ani-cli # Easy anime player
lutgen # LUT generator
prismlauncher # Minecraft launcher
];
}