Use modules folder

This commit is contained in:
Elnu 2023-01-25 20:15:06 -08:00
parent e42f845f09
commit 2903676336
46 changed files with 21 additions and 21 deletions

View file

@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:
let
theme = import ../theme;
theme = import ../modules/theme;
in
{
services = {
@ -15,7 +15,7 @@ in
enable = true;
theme = theme.gtkTheme pkgs;
};
background = ../wallpapers/${theme.wallpaper};
background = ../modules/wallpapers/${theme.wallpaper};
};
defaultSession = "none+i3";
};
@ -54,7 +54,7 @@ in
mplus-outline-fonts.osdnRelease
noto-fonts
(nerdfonts.override { fonts = [ "FiraCode" ]; }) # required for icons
(pkgs.callPackage ../twemoji.nix {})
(pkgs.callPackage ../modules/twemoji {})
];
};
}

View file

@ -1,25 +1,25 @@
{ config, pkgs, user, ... }:
let
theme = import ../theme;
theme = import ../modules/theme;
in
{
imports = [
../neovim
../ranger.nix
../fcitx5
../picom.nix
../i3.nix
../polybar
../rofi
../git.nix
../terminal.nix
../startpage
../firefox.nix
../emacs
../modules/emacs
../modules/fcitx5
../modules/firefox
../modules/git
../modules/i3
../modules/neovim
../modules/picom
../modules/polybar
../modules/ranger
../modules/rofi
../modules/startpage
../modules/terminal
];
home.file."./.background-image".source = ../wallpapers/${theme.wallpaper};
home.file."./.background-image".source = ../modules/wallpapers/${theme.wallpaper};
programs.home-manager.enable = true;