move xinitrc file creation only if x11 if active
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
||||||
# Updated: 2025/02/12 04:13:26 by tomoron ### ########.fr #
|
# Updated: 2025/02/12 16:41:58 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -72,8 +72,7 @@
|
|||||||
home.sessionPath = [ "~/.local/bin" ];
|
home.sessionPath = [ "~/.local/bin" ];
|
||||||
|
|
||||||
home.file = { #should be able to make most of these in nix configs
|
home.file = { #should be able to make most of these in nix configs
|
||||||
".config/nitrogen/wallpaper.png".source = lib.mkDefault dotfiles/config/nitrogen/wallpaper.png;
|
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper.png;
|
||||||
".xinitrc".text = "exec bspwm";
|
|
||||||
|
|
||||||
".local/share/rofi/themes".source = "${builtins.fetchGit {
|
".local/share/rofi/themes".source = "${builtins.fetchGit {
|
||||||
url = "https://github.com/newmanls/rofi-themes-collection";
|
url = "https://github.com/newmanls/rofi-themes-collection";
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.mods.x11.enable {
|
config = lib.mkIf config.mods.x11.enable {
|
||||||
|
home.file.".xinitrc".text = "exec bspwm";
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nitrogen
|
nitrogen
|
||||||
numlockx
|
numlockx
|
||||||
|
BIN
homeConfigs/utils/wallpaper.png
Normal file
BIN
homeConfigs/utils/wallpaper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 MiB |
Reference in New Issue
Block a user