allin modules

This commit is contained in:
joygnu 2024-08-31 14:46:41 +02:00
parent 09b9762038
commit 8083b25267
11 changed files with 23 additions and 28 deletions

View file

@ -1,5 +1,5 @@
{inputs, ...}: {
imports = [inputs.ags.homeManagerModules.default];
home-manager.users.joy.imports = [inputs.ags.homeManagerModules.default];
home-manager.users.joy.programs.ags = {
enable = true;
configDir = ./bar;

View file

@ -17,9 +17,6 @@
./ssh
./dunst
./zsh
./gtk
./git
./ags
./misc
./rofi
./helix
@ -28,5 +25,9 @@
./hyprland
./hypridle
./newsboat
./homemisc
./git
./gtk
./ags
];
}

View file

@ -1,14 +1,14 @@
{pkgs, ...}: let
gruvboxPlus = import ./gruvbox-plus.nix {inherit pkgs;};
in {
home.file = {
home-manager.users.joy.home.file = {
".local/share/icons/GruvboxPlus".source = "${gruvboxPlus}";
};
gtk = {
enable = true;
iconTheme.package = gruvboxPlus;
iconTheme.name = "GruvboxPlus";
home-manager.users.joy.gtk = {
enable = true;
iconTheme.package = gruvboxPlus;
iconTheme.name = "GruvboxPlus";
};
# qt.enable = true;

View file

@ -1,5 +1,5 @@
{pkgs, ...}: {
programs.helix = {
home-manager.users.joy.programs.helix = {
enable = true;
defaultEditor = true;
settings = {
@ -11,11 +11,11 @@
};
};
home.packages = with pkgs; [
home-manager.users.joy.home.packages = with pkgs; [
nil
clang-tools
javascript-typescript-langserver
# vscode-langservers-extracted
vscode-langservers-extracted
rust-analyzer
lldb_18
lua-language-server

View file

@ -1,5 +1,5 @@
{lib, ...}: {
home = {
home-manager.users.joy.home = {
username = "joy";
homeDirectory = "/home/joy";
stateVersion = "23.11";
@ -7,9 +7,9 @@
};
};
programs.home-manager.enable = true;
home-manager.users.joy.programs.home-manager.enable = true;
xdg.mimeApps.defaultApplications = {
home-manager.users.joy.xdg.mimeApps.defaultApplications = {
"text/plain" = ["helix.desktop"];
"image/*" = ["imv.desktop"];
"video/png" = ["mpv.desktop"];

View file

@ -1,5 +1,5 @@
{...}: {
services.hypridle = {
home-manager.users.joy.services.hypridle = {
# enable = true;
settings = {
listener = [

View file

@ -1,5 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
home-manager.users.joy.home.packages = with pkgs; [
rofi-wayland
pwvucontrol
swww
@ -13,9 +13,9 @@
playerctl
];
services.cliphist.enable = true;
home-manager.users.joy.services.cliphist.enable = true;
wayland.windowManager.hyprland = {
home-manager.users.joy.wayland.windowManager.hyprland = {
enable = true;
settings = {

View file

@ -3,12 +3,6 @@
pkgs,
...
}: {
home-manager = {
extraSpecialArgs = {inherit inputs;};
users = {
"joy" = import ./../../home;
};
};
users.users.joy = {
isNormalUser = true;

View file

@ -1,5 +1,5 @@
{...}: {
programs.newsboat = {
home-manager.users.joy.programs.newsboat = {
enable = true;
browser = "firefox";
urls = [

View file

@ -3,7 +3,7 @@
lib,
...
}: {
programs.rofi = {
home-manager.users.joy.programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
theme = lib.mkForce "~/nix/home/rofi/gruvbox-material.rasi";

View file

@ -1,5 +1,5 @@
{pkgs, ...}: {
programs.zsh = {
home-manager.users.joy.programs.zsh = {
enable = true;
syntaxHighlighting.enable = true;
enableCompletion = true;