Files

99 lines
1.8 KiB
Nix
Raw Permalink Normal View History

2026-04-04 16:46:30 -04:00
{
self,
inputs,
...
}:
let
username = "eclypse";
in
{
flake.modules.nixos.${username} =
{ config, pkgs, ... }:
{
users.mutableUsers = false;
users.users.${username} = {
isNormalUser = true;
uid = 1000;
description = "Eclypse";
extraGroups = [
"networkmanager"
"wheel"
"scanner"
"lp"
"dialout"
];
hashedPasswordFile = config.age.secrets.eclypse-password.path;
shell = pkgs.zsh;
};
age.secrets.eclypse-password.rekeyFile = "${inputs.secrets}/eclypse-password.age";
home-manager.users.${username} = {
imports = [ self.modules.homeManager.${username} ];
};
};
flake.modules.homeManager.${username} =
{ pkgs, ... }:
{
imports = with self.modules.homeManager; [
inputs.nix-jmu-cs345.homeManagerModules.bernstdh
2026-04-05 14:00:34 -04:00
assets
2026-04-11 14:22:06 -04:00
bat
2026-04-04 16:46:30 -04:00
direnv
2026-04-11 14:22:06 -04:00
eza
2026-04-04 16:46:30 -04:00
fastfetch
2026-04-11 14:21:19 -04:00
fonts
2026-04-04 16:46:30 -04:00
foot
fzf
git
helix
kanshi
niri
noctalia
ssh
starship
2026-04-04 17:56:31 -04:00
styling
2026-04-04 16:46:30 -04:00
swappy
vesktop
vicinae
xdg
yazi
zed
zellij
2026-04-11 15:34:43 -04:00
zen-browser
2026-04-04 16:46:30 -04:00
zoxide
zsh
];
home = {
inherit username;
homeDirectory = "/home/${username}";
stateVersion = "25.05";
};
2026-04-05 14:00:34 -04:00
profilePicture = "${inputs.assets}/profile-picture.jpg";
wallpaperDir = "${inputs.assets}/wallpapers";
2026-04-04 16:46:30 -04:00
programs.home-manager.enable = true;
programs.nix-jmu-cs345.enable = true;
home.packages = with pkgs; [
devenv
htop
obsidian
upscayl
trayscale
# CD Stuff
picard
heybrochecklog
rsgain
playerctl
brightnessctl
opencode
];
};
}