Use modules folder

inky
Elnu 2 years ago
parent e42f845f09
commit 2903676336

@ -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 {})
];
};
}

@ -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;

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 93 KiB

@ -11,7 +11,7 @@
git clone --depth 1 https://github.com/doomemacs/doomemacs .emacs.d
fi
mkdir -p .doom.d
ln -sf ${config.home.homeDirectory}/${configDir}/emacs/.doom.d/* .doom.d
ln -sf ${config.home.homeDirectory}/${configDir}/modules/emacs/.doom.d/* .doom.d
'';
home.file = {
".emacs.d/everforest".source = pkgs.fetchFromGitHub {

Before

Width:  |  Height:  |  Size: 337 B

After

Width:  |  Height:  |  Size: 337 B

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 272 B

@ -1,7 +1,7 @@
{ pkgs, user, ... }:
let
startpageDir = import ./startpage/dir.nix;
startpageDir = import ../startpage/dir.nix;
startpage = "file:///home/${user}/${startpageDir}/index.html";
firefox-csshacks = pkgs.fetchFromGitHub {
owner = "MrOtherGuy";

@ -1,7 +1,7 @@
{ pkgs, lib, ... }:
let
theme = import ./theme;
theme = import ../theme;
mod = "Mod4";
in with theme.colors; {
# Dependencies

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before

Width:  |  Height:  |  Size: 567 B

After

Width:  |  Height:  |  Size: 567 B

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

@ -1,7 +1,7 @@
{ ... }:
let
theme = import ./theme;
theme = import ../theme;
in
{
programs.kitty = {

Before

Width:  |  Height:  |  Size: 718 KiB

After

Width:  |  Height:  |  Size: 718 KiB

Before

Width:  |  Height:  |  Size: 761 KiB

After

Width:  |  Height:  |  Size: 761 KiB

Before

Width:  |  Height:  |  Size: 486 KiB

After

Width:  |  Height:  |  Size: 486 KiB

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Loading…
Cancel
Save