Renamed home to programs, moved definition to user level
This commit is contained in:
22
users/core.nix
Normal file
22
users/core.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ username, ... }:
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home = {
|
||||
inherit username;
|
||||
homeDirectory = "/home/${username}";
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
# incompatible changes.
|
||||
#
|
||||
# You can update Home Manager without changing this value. See
|
||||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
stateVersion = "24.05";
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
@@ -1,4 +1,8 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
monitorSetup,
|
||||
...
|
||||
}:
|
||||
{
|
||||
@@ -9,36 +13,33 @@
|
||||
##################################################################################################################
|
||||
|
||||
imports = [
|
||||
../../home/core.nix # Setup Home
|
||||
../../home/xdg.nix # Bindings
|
||||
../core.nix # Setup Home Manager
|
||||
inputs.spicetify-nix.homeManagerModules.default
|
||||
../../programs/wm
|
||||
../../programs/wm/hyprland
|
||||
../../programs/wm/niri
|
||||
../../programs/webcam.nix
|
||||
];
|
||||
|
||||
../../home/hyprland # Window Manager
|
||||
../../home/niri
|
||||
home.packages = with pkgs; [
|
||||
audacity
|
||||
blender
|
||||
slic3r
|
||||
okular
|
||||
obsidian
|
||||
element-desktop
|
||||
zapzap
|
||||
libsForQt5.okular
|
||||
|
||||
../../home/programs/dev # Dev Tools
|
||||
|
||||
../../home/programs/media/media.nix
|
||||
../../home/programs/media/audacity.nix
|
||||
../../home/programs/media/obs.nix
|
||||
../../home/programs/media/spicetify.nix
|
||||
|
||||
../../home/programs/productivity/blender.nix
|
||||
../../home/programs/productivity/slicer.nix
|
||||
../../home/programs/productivity/okular.nix
|
||||
../../home/programs/productivity/obsidian.nix
|
||||
|
||||
../../home/programs/social/element.nix
|
||||
../../home/programs/social/zapzap.nix
|
||||
#../../home/programs/social/teamspeak.nix
|
||||
../../home/programs/social/vesktop.nix
|
||||
|
||||
../../home/programs/web/floorp.nix
|
||||
onlyoffice-desktopeditors
|
||||
openscad
|
||||
fstl
|
||||
sqlitebrowser
|
||||
|
||||
# Games
|
||||
../../home/programs/games/itch.nix
|
||||
../../home/programs/games/lutris.nix
|
||||
../../home/programs/games/opensource.nix
|
||||
../../home/programs/games/airshipper.nix
|
||||
lutris
|
||||
airshipper
|
||||
xonotic
|
||||
];
|
||||
|
||||
catppuccin = {
|
||||
@@ -46,10 +47,87 @@
|
||||
flavor = "mocha";
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
userName = "DerGrumpf";
|
||||
userEmail = "p.keier@beyerstedt-it.de";
|
||||
};
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "DerGrumpf";
|
||||
userEmail = "p.keier@beyerstedt-it.de";
|
||||
};
|
||||
|
||||
nixcord = {
|
||||
enable = true;
|
||||
discord = lib.mkForce { enable = false; };
|
||||
vesktop.enable = true;
|
||||
|
||||
config = {
|
||||
useQuickCss = true;
|
||||
themeLinks = [
|
||||
"https://raw.githubusercontent.com/catppuccin/discord/refs/heads/main/themes/mocha.theme.css"
|
||||
];
|
||||
frameless = true;
|
||||
plugins = {
|
||||
betterFolders.enable = true;
|
||||
betterRoleContext.enable = true;
|
||||
mentionAvatars.enable = true;
|
||||
copyUserURLs.enable = true;
|
||||
fakeNitro.enable = true;
|
||||
decor.enable = true;
|
||||
#accountPanelServerProfile = true;
|
||||
copyFileContents.enable = true;
|
||||
fakeProfileThemes.enable = true;
|
||||
friendsSince.enable = true;
|
||||
implicitRelationships.enable = true;
|
||||
noTrack.enable = true;
|
||||
permissionsViewer.enable = true;
|
||||
serverInfo.enable = true;
|
||||
translate.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
obs-studio = {
|
||||
enable = true;
|
||||
#enableVirtualCamera = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
obs-vkcapture
|
||||
obs-backgroundremoval
|
||||
obs-pipewire-audio-capture
|
||||
];
|
||||
};
|
||||
|
||||
spicetify =
|
||||
let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
spotifyPackage = pkgs.spotify;
|
||||
theme = spicePkgs.themes.catppuccin;
|
||||
colorScheme = "mocha";
|
||||
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
bookmark
|
||||
fullAppDisplay
|
||||
keyboardShortcut
|
||||
popupLyrics
|
||||
shuffle
|
||||
autoVolume
|
||||
betterGenres
|
||||
adblock
|
||||
wikify
|
||||
songStats
|
||||
];
|
||||
|
||||
enabledCustomApps = with spicePkgs.apps; [
|
||||
lyricsPlus
|
||||
newReleases
|
||||
marketplace
|
||||
];
|
||||
|
||||
#enabledSnippets = with spicePkgs.snippets; [ ];
|
||||
|
||||
};
|
||||
};
|
||||
home.file.".config/fastfetch/config.jsonc".source = ./config.jsonc;
|
||||
}
|
||||
|
Reference in New Issue
Block a user