Moved common stuff into ./home/common.nix
This commit is contained in:
@@ -1,6 +1,84 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./components/nethack.nix
|
./components/nethack.nix
|
||||||
./components/firefox.nix
|
./components/firefox.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
home-manager.enable = true;
|
||||||
|
fastfetch.enable = true;
|
||||||
|
htop.enable = true;
|
||||||
|
|
||||||
|
bash = {
|
||||||
|
enable = true;
|
||||||
|
historyControl = [ "ignoreboth" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "xezo360hye";
|
||||||
|
userEmail = "xezo360hye@gmail.com";
|
||||||
|
extraConfig = {
|
||||||
|
init.defaultBranch = "master";
|
||||||
|
url."https://github.com/".insteadOf = [ "gh:" "github:" ];
|
||||||
|
url."https://git.psf.lt/".insteadOf = [ "psf:" "gitea:" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
nixvim = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
viAlias = true;
|
||||||
|
vimAlias = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
|
||||||
|
colorschemes.tokyonight.enable = true;
|
||||||
|
plugins = {
|
||||||
|
guess-indent.enable = true;
|
||||||
|
|
||||||
|
copilot-lua = {
|
||||||
|
enable = true;
|
||||||
|
suggestion = {
|
||||||
|
autoTrigger = true;
|
||||||
|
keymap = {
|
||||||
|
accept = "<Tab>";
|
||||||
|
acceptLine = "<M-l>";
|
||||||
|
acceptWord = "<M-Right>";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
news.display = "show";
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
home = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
telegram-desktop
|
||||||
|
libqalculate
|
||||||
|
arduino-cli
|
||||||
|
|
||||||
|
nethack
|
||||||
|
ani-cli
|
||||||
|
ytfzf
|
||||||
|
|
||||||
|
cpufrequtils
|
||||||
|
steam-run
|
||||||
|
];
|
||||||
|
|
||||||
|
sessionVariables = {
|
||||||
|
ANI_CLI_PLAYER = "mpv";
|
||||||
|
};
|
||||||
|
|
||||||
|
username = "andrey";
|
||||||
|
homeDirectory = "/home/andrey";
|
||||||
|
stateVersion = "24.05";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@@ -1,58 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./components/hyprland.nix
|
./components/hyprland.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
|
||||||
home-manager.enable = true;
|
|
||||||
|
|
||||||
bash = {
|
|
||||||
enable = true;
|
|
||||||
historyControl = [ "ignoreboth" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "xezo360hye";
|
|
||||||
userEmail = "xezo360hye@gmail.com";
|
|
||||||
extraConfig = {
|
|
||||||
init.defaultBranch = "master";
|
|
||||||
url."https://github.com/".insteadOf = [ "gh:" "github:" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
neovim = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
viAlias = true;
|
|
||||||
vimAlias = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
|
|
||||||
extraLuaConfig = ''
|
|
||||||
vim.cmd "colorscheme desert"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
fastfetch = {
|
|
||||||
enable = true;
|
|
||||||
settings = {};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
ani-cli
|
|
||||||
ytfzf
|
|
||||||
];
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
ANI_CLI_PLAYER = "mpv";
|
|
||||||
};
|
|
||||||
|
|
||||||
home = {
|
|
||||||
username = "andrey";
|
|
||||||
homeDirectory = "/home/andrey";
|
|
||||||
stateVersion = "24.05";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
# vim: ts=2 sw=2 et
|
# vim: ts=2 sw=2 et
|
||||||
|
@@ -1,78 +1,15 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
|
||||||
|
|
||||||
bash = {
|
|
||||||
enable = true;
|
|
||||||
historyControl = [ "ignoreboth" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "xezo360hye";
|
|
||||||
userEmail = "xezo360hye@gmail.com";
|
|
||||||
extraConfig = {
|
|
||||||
init.defaultBranch = "master";
|
|
||||||
url."https://github.com/".insteadOf = [ "gh:" "github:" ];
|
|
||||||
url."https://git.psf.lt/".insteadOf = [ "psf:" "gitea:" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nixvim = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
viAlias = true;
|
|
||||||
vimAlias = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
|
|
||||||
colorschemes.tokyonight.enable = true;
|
|
||||||
plugins.copilot-lua = {
|
|
||||||
enable = true;
|
|
||||||
filetypes = {
|
|
||||||
markdown = true;
|
|
||||||
yaml = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
htop.enable = true;
|
|
||||||
fastfetch.enable = true;
|
|
||||||
alacritty.enable = true;
|
alacritty.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
xsession.windowManager.awesome = {
|
xsession.windowManager.awesome = {
|
||||||
enable = true;
|
enable = true;
|
||||||
noArgb = true;
|
noArgb = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
home.file = {
|
||||||
news.display = "show";
|
".config/awesome/rc.lua".source = ./components/awesomerc.lua;
|
||||||
|
|
||||||
home = {
|
|
||||||
packages = with pkgs; [
|
|
||||||
telegram-desktop
|
|
||||||
arduino-cli
|
|
||||||
ani-cli
|
|
||||||
ytfzf
|
|
||||||
nethack
|
|
||||||
cpufrequtils
|
|
||||||
qbittorrent
|
|
||||||
steam-run
|
|
||||||
libqalculate
|
|
||||||
];
|
|
||||||
|
|
||||||
sessionVariables = {
|
|
||||||
ANI_CLI_PLAYER = "mpv";
|
|
||||||
};
|
|
||||||
|
|
||||||
file = {
|
|
||||||
".config/awesome/rc.lua".source = ./awesomerc.lua;
|
|
||||||
};
|
|
||||||
|
|
||||||
username = "andrey";
|
|
||||||
homeDirectory = "/home/andrey";
|
|
||||||
stateVersion = "24.05";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
# vim: ts=2 sw=2 et
|
# vim: ts=2 sw=2 et
|
||||||
|
Reference in New Issue
Block a user