99 lines
1.8 KiB
Nix
99 lines
1.8 KiB
Nix
{
|
|
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
|
|
assets
|
|
bat
|
|
direnv
|
|
eza
|
|
fastfetch
|
|
fonts
|
|
foot
|
|
fzf
|
|
git
|
|
helix
|
|
kanshi
|
|
niri
|
|
noctalia
|
|
ssh
|
|
starship
|
|
styling
|
|
swappy
|
|
vesktop
|
|
vicinae
|
|
xdg
|
|
yazi
|
|
zed
|
|
zellij
|
|
zen-browser
|
|
zoxide
|
|
zsh
|
|
];
|
|
|
|
home = {
|
|
inherit username;
|
|
homeDirectory = "/home/${username}";
|
|
stateVersion = "25.05";
|
|
};
|
|
|
|
profilePicture = "${inputs.assets}/profile-picture.jpg";
|
|
wallpaperDir = "${inputs.assets}/wallpapers";
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|