mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2026-07-31 17:32:08 +01:00
Fresh start to clean history after subtree experiments
This commit is contained in:
Submodule
+1
Submodule home-manager/core/dotfiles added at ea6fde9eb1
@@ -0,0 +1,85 @@
|
||||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
unstablePkgs,
|
||||
...
|
||||
}: let
|
||||
monaspaceFont = pkgs.callPackage ../../modules/monaspice_font.nix {};
|
||||
in {
|
||||
home.file = {
|
||||
".bashrc" = lib.mkIf (!config.programs.bash.enable) {
|
||||
source = ./dotfiles/dot_bashrc;
|
||||
};
|
||||
"monaspice" = {
|
||||
source = "${monaspaceFont}/share/fonts/";
|
||||
target = ".local/share/fonts/";
|
||||
recursive = true;
|
||||
};
|
||||
"nushell" = {
|
||||
source = ./dotfiles/dot_config/nushell;
|
||||
target = ".config/nushell";
|
||||
recursive = true;
|
||||
};
|
||||
"nvim" = {
|
||||
source = ./dotfiles/dot_config/nvim;
|
||||
target = ".config/nvim";
|
||||
recursive = true;
|
||||
};
|
||||
"pypoetry" = {
|
||||
source = ./dotfiles/dot_config/pypoetry;
|
||||
target = ".config/pypoetry";
|
||||
recursive = true;
|
||||
};
|
||||
"Thunar" = {
|
||||
source = ./dotfiles/dot_config/Thunar;
|
||||
target = ".config/Thunar";
|
||||
};
|
||||
"rye" = {
|
||||
source = ./dotfiles/dot_config/.rye;
|
||||
target = ".config/.rye";
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile = {
|
||||
"bat".source = ./dotfiles/dot_config/bat;
|
||||
"fastfetch".source = ./dotfiles/dot_config/fastfetch;
|
||||
"helix".source = ./dotfiles/dot_config/helix;
|
||||
"hypr" = {
|
||||
source = ./dotfiles/dot_config/hypr;
|
||||
recursive = true;
|
||||
# Here, we use OnChange, because we don't want the config to be mutable but we do want it to
|
||||
# manage modifiable state at runtime
|
||||
onChange = ''
|
||||
rm -f ${config.xdg.configHome}/hypr/inputs.conf
|
||||
cp ${config.xdg.configHome}/hypr/HomeManagerInit_inputs.conf ${config.xdg.configHome}/hypr/inputs.conf
|
||||
chmod u+w ${config.xdg.configHome}/hypr/inputs.conf
|
||||
'';
|
||||
};
|
||||
"just".source = ./dotfiles/dot_config/just;
|
||||
"kitty".source = ./dotfiles/dot_config/kitty;
|
||||
"ghostty".source = ./dotfiles/dot_config/ghostty;
|
||||
"micro".source = ./dotfiles/dot_config/micro;
|
||||
"neovide".source = ./dotfiles/dot_config/neovide;
|
||||
"glow".source = ./dotfiles/dot_config/glow;
|
||||
"glamour".source = ./dotfiles/dot_config/glamour;
|
||||
"starship.toml".source = ./dotfiles/dot_config/starship.toml;
|
||||
"waybar".source = ./dotfiles/dot_config/waybar;
|
||||
"euporie".source = ./dotfiles/dot_config/euporie;
|
||||
"bottom".source = ./dotfiles/dot_config/bottom;
|
||||
"swaync".source = ./dotfiles/dot_config/swaync;
|
||||
"zellij".source = ./dotfiles/dot_config/zellij;
|
||||
"git".source = ./dotfiles/dot_config/git;
|
||||
"lazygit".source = ./dotfiles/dot_config/lazygit;
|
||||
"wezterm".source = ./dotfiles/dot_config/wezterm;
|
||||
"alacritty".source = ./dotfiles/dot_config/alacritty;
|
||||
"hg".source = ./dotfiles/dot_config/hg;
|
||||
"yazi".source = ./dotfiles/dot_config/yazi;
|
||||
"stylua.toml".source = ./dotfiles/dot_config/stylua.toml;
|
||||
"electron-flags.conf".source = ./dotfiles/dot_config/electron-flags.conf;
|
||||
"Kvantum".source = ./dotfiles/dot_config/Kvantum;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
unstablePkgs,
|
||||
...
|
||||
}: let
|
||||
monaspaceFont = pkgs.callPackage ../../modules/monaspice_font.nix {};
|
||||
in {
|
||||
home.packages =
|
||||
(with pkgs; [
|
||||
alejandra
|
||||
git-extras
|
||||
git-credential-manager
|
||||
meld
|
||||
unzip
|
||||
])
|
||||
++ (with unstablePkgs; [
|
||||
devenv
|
||||
lazygit
|
||||
kitty-img
|
||||
kitty-themes
|
||||
nixd
|
||||
])
|
||||
++ [
|
||||
monaspaceFont
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
unstablePkgs,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
git.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
unstablePkgs,
|
||||
...
|
||||
}: {
|
||||
home = {
|
||||
username = "cianh";
|
||||
homeDirectory = "/home/cianh";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user