Use modules folder

inky
Elnu 2 years ago
parent e42f845f09
commit 2903676336

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

@ -1,25 +1,25 @@
{ config, pkgs, user, ... }: { config, pkgs, user, ... }:
let let
theme = import ../theme; theme = import ../modules/theme;
in in
{ {
imports = [ imports = [
../neovim ../modules/emacs
../ranger.nix ../modules/fcitx5
../fcitx5 ../modules/firefox
../picom.nix ../modules/git
../i3.nix ../modules/i3
../polybar ../modules/neovim
../rofi ../modules/picom
../git.nix ../modules/polybar
../terminal.nix ../modules/ranger
../startpage ../modules/rofi
../firefox.nix ../modules/startpage
../emacs ../modules/terminal
]; ];
home.file."./.background-image".source = ../wallpapers/${theme.wallpaper}; home.file."./.background-image".source = ../modules/wallpapers/${theme.wallpaper};
programs.home-manager.enable = true; 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 git clone --depth 1 https://github.com/doomemacs/doomemacs .emacs.d
fi fi
mkdir -p .doom.d 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 = { home.file = {
".emacs.d/everforest".source = pkgs.fetchFromGitHub { ".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, ... }: { pkgs, user, ... }:
let let
startpageDir = import ./startpage/dir.nix; startpageDir = import ../startpage/dir.nix;
startpage = "file:///home/${user}/${startpageDir}/index.html"; startpage = "file:///home/${user}/${startpageDir}/index.html";
firefox-csshacks = pkgs.fetchFromGitHub { firefox-csshacks = pkgs.fetchFromGitHub {
owner = "MrOtherGuy"; owner = "MrOtherGuy";

@ -1,7 +1,7 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
theme = import ./theme; theme = import ../theme;
mod = "Mod4"; mod = "Mod4";
in with theme.colors; { in with theme.colors; {
# Dependencies # 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 let
theme = import ./theme; theme = import ../theme;
in in
{ {
programs.kitty = { 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