88 lines
2.2 KiB
Nix
88 lines
2.2 KiB
Nix
{ config, pkgs, inputs, spicetify-nix, agenix, ... }:
|
|
{
|
|
imports = [
|
|
inputs.home-manager.nixosModules.home-manager
|
|
inputs.catppuccin.nixosModules.catppuccin
|
|
inputs.spicetify-nix.nixosModules.default
|
|
];
|
|
|
|
# TODO: Get a token2 and set up https://github.com/oddlama/agenix-rekey
|
|
age.identityPaths = [ "/var/lib/persistent/host_id_ed25519" ];
|
|
|
|
age.secrets.access-tokens-github.file = ../secrets/gh.age;
|
|
age.secrets.obvps-id = {
|
|
file = ../secrets/1bvps.age;
|
|
path = "/home/rhea/.ssh/id_1bvps";
|
|
owner = "rhea";
|
|
symlink = false;
|
|
};
|
|
|
|
nix.extraOptions = ''
|
|
!include ${config.age.secrets.access-tokens-github.path}
|
|
'';
|
|
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
|
|
extraSpecialArgs = {
|
|
inherit spicetify-nix;
|
|
inherit agenix;
|
|
};
|
|
|
|
users.rhea = {
|
|
/* The home.stateVersion option does not have a default and must be set */
|
|
home.stateVersion = "24.05";
|
|
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
|
|
# inherit ./hyprland.nix;
|
|
home.username = "rhea";
|
|
home.homeDirectory = "/home/rhea";
|
|
programs.home-manager.enable = true;
|
|
|
|
catppuccin = {
|
|
flavor = "macchiato";
|
|
accent = "mauve";
|
|
};
|
|
|
|
imports = [
|
|
inputs.catppuccin.homeManagerModules.catppuccin
|
|
inputs.spicetify-nix.homeManagerModules.default
|
|
inputs.nix-index-database.hmModules.nix-index
|
|
inputs.agenix.homeManagerModules.age
|
|
./hyprland.nix
|
|
./git.nix
|
|
./waybar
|
|
./btop
|
|
./dunst.nix
|
|
./wofi.nix
|
|
./swaylock.nix
|
|
./easyeffects.nix
|
|
./packages.nix
|
|
./alacritty.nix
|
|
./zsh.nix
|
|
./spicetify.nix
|
|
./udiskie.nix
|
|
./keyring.nix
|
|
./ssh.nix
|
|
./blueman.nix
|
|
./direnv.nix
|
|
];
|
|
|
|
home.pointerCursor = {
|
|
gtk.enable = true;
|
|
package = pkgs.posy-cursors;
|
|
name = "Posy_Cursor";
|
|
size = 16;
|
|
};
|
|
};
|
|
};
|
|
|
|
users.users.rhea = {
|
|
isNormalUser = true;
|
|
description = "Rhea";
|
|
extraGroups = [ "networkmanager" "wheel" "storage" ];
|
|
shell = pkgs.zsh;
|
|
};
|
|
|
|
nix.settings.allowed-users = [ "rhea" ];
|
|
}
|