try something might revert if goes wrong
This commit is contained in:
parent
bd3452af46
commit
40bfc9c7e7
86
hosts/common/home.nix
Normal file
86
hosts/common/home.nix
Normal file
@ -0,0 +1,86 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
../../modules/home-manager/webapps.nix
|
||||
../../modules/home-manager/lf/lf.nix
|
||||
];
|
||||
|
||||
home.username = "smayzy";
|
||||
home.homeDirectory = "/home/smayzy";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
home.packages = [
|
||||
];
|
||||
|
||||
home.file = {
|
||||
".config/fastfetch" = {
|
||||
source = builtins.toPath ../../dotfiles/fastfetch;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/kitty/kitty.conf" = {
|
||||
source = builtins.toPath ../../dotfiles/kitty.conf;
|
||||
force = true;
|
||||
};
|
||||
".config/mako/config" = {
|
||||
source = builtins.toPath ../../dotfiles/mako/config;
|
||||
force = true;
|
||||
};
|
||||
".config/wofi" = {
|
||||
source = builtins.toPath ../../dotfiles/wofi;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
"wallpaper" = {
|
||||
source = builtins.toPath ../../wallpapers;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "vim";
|
||||
GTK_THEME = "Adwaita:dark";
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
uris = ["qemu:///system"];
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
history.size = 100000;
|
||||
shellAliases = {
|
||||
config = "cd ~/nix-config";
|
||||
};
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "smayzy";
|
||||
userEmail = "smayzy@smayzy.ovh";
|
||||
extraConfig = {
|
||||
core.editor = "vim";
|
||||
core.autocrlf = "input";
|
||||
};
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
policies = {
|
||||
OverridePostfix = "no-gtk-theme";
|
||||
};
|
||||
};
|
||||
|
||||
stylix.autoEnable = false;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
@ -3,99 +3,28 @@
|
||||
{
|
||||
imports =
|
||||
[
|
||||
../../modules/home-manager/webapps.nix
|
||||
../../modules/home-manager/lf/lf.nix
|
||||
../common/home.nix
|
||||
];
|
||||
|
||||
home.username = "smayzy";
|
||||
home.homeDirectory = "/home/smayzy";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
home.packages = [
|
||||
];
|
||||
|
||||
home.file = {
|
||||
".config/fastfetch" = {
|
||||
source = builtins.toPath ../../dotfiles/fastfetch;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/kitty/kitty.conf" = {
|
||||
source = builtins.toPath ../../dotfiles/kitty.conf;
|
||||
force = true;
|
||||
};
|
||||
".config/hypr" = {
|
||||
".config/hypr" = {
|
||||
source = builtins.toPath ../../dotfiles/hypr-desk;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/mako/config" = {
|
||||
source = builtins.toPath ../../dotfiles/mako/config;
|
||||
force = true;
|
||||
};
|
||||
".config/waybar" = {
|
||||
".config/waybar" = {
|
||||
source = builtins.toPath ../../dotfiles/waybar-desk;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/wofi" = {
|
||||
source = builtins.toPath ../../dotfiles/wofi;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/wlogout" = {
|
||||
".config/wlogout" = {
|
||||
source = builtins.toPath ../../dotfiles/wlogout-desk;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
"wallpaper" = {
|
||||
source = builtins.toPath ../../wallpapers;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "vim";
|
||||
GTK_THEME = "Adwaita:dark";
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
uris = ["qemu:///system"];
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
history.size = 100000;
|
||||
shellAliases = {
|
||||
config = "cd ~/nix-config";
|
||||
};
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "smayzy";
|
||||
userEmail = "smayzy@smayzy.ovh";
|
||||
extraConfig = {
|
||||
core.editor = "vim";
|
||||
core.autocrlf = "input";
|
||||
};
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
policies = {
|
||||
OverridePostfix = "no-gtk-theme";
|
||||
};
|
||||
};
|
||||
|
||||
stylix.autoEnable = false;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
|
||||
@ -3,99 +3,27 @@
|
||||
{
|
||||
imports =
|
||||
[
|
||||
../../modules/home-manager/webapps.nix
|
||||
../../modules/home-manager/lf/lf.nix
|
||||
../common/home.nix
|
||||
];
|
||||
|
||||
home.username = "smayzy";
|
||||
home.homeDirectory = "/home/smayzy";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
home.packages = [
|
||||
];
|
||||
|
||||
home.file = {
|
||||
".config/fastfetch" = {
|
||||
source = builtins.toPath ../../dotfiles/fastfetch;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/kitty/kitty.conf" = {
|
||||
source = builtins.toPath ../../dotfiles/kitty.conf;
|
||||
force = true;
|
||||
};
|
||||
".config/hypr" = {
|
||||
source = builtins.toPath ../../dotfiles/hypr-lap;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/mako/config" = {
|
||||
source = builtins.toPath ../../dotfiles/mako/config;
|
||||
force = true;
|
||||
};
|
||||
".config/waybar" = {
|
||||
source = builtins.toPath ../../dotfiles/waybar-lap;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/wofi" = {
|
||||
source = builtins.toPath ../../dotfiles/wofi;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/wlogout" = {
|
||||
source = builtins.toPath ../../dotfiles/wlogout-lap;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
"wallpaper" = {
|
||||
source = builtins.toPath ../../wallpapers;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "vim";
|
||||
GTK_THEME = "Adwaita:dark";
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
uris = ["qemu:///system"];
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
history.size = 100000;
|
||||
shellAliases = {
|
||||
config = "cd ~/nix-config";
|
||||
};
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "smayzy";
|
||||
userEmail = "smayzy@smayzy.ovh";
|
||||
extraConfig = {
|
||||
core.editor = "vim";
|
||||
core.autocrlf = "input";
|
||||
};
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
policies = {
|
||||
OverridePostfix = "no-gtk-theme";
|
||||
};
|
||||
};
|
||||
|
||||
stylix.autoEnable = false;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user