allin modules

This commit is contained in:
joy 2024-08-31 14:46:41 +02:00
parent 64a21a7209
commit 669d231761
11 changed files with 23 additions and 28 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,5 @@
{lib, ...}: { {lib, ...}: {
home = { home-manager.users.joy.home = {
username = "joy"; username = "joy";
homeDirectory = "/home/joy"; homeDirectory = "/home/joy";
stateVersion = "23.11"; 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"]; "text/plain" = ["helix.desktop"];
"image/*" = ["imv.desktop"]; "image/*" = ["imv.desktop"];
"video/png" = ["mpv.desktop"]; "video/png" = ["mpv.desktop"];

View file

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

View file

@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = with pkgs; [ home-manager.users.joy.home.packages = with pkgs; [
rofi-wayland rofi-wayland
pwvucontrol pwvucontrol
swww swww
@ -13,9 +13,9 @@
playerctl 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; enable = true;
settings = { settings = {

View file

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

View file

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

View file

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

View file

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