mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-02-24 00:58:55 -05:00
make home profile for server
2
This commit is contained in:
parent
f59f799948
commit
74b9dc142a
6 changed files with 51 additions and 27 deletions
|
@ -1,6 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
filelight
|
||||||
ksshaskpass
|
ksshaskpass
|
||||||
xsel
|
xsel
|
||||||
libsForQt5.kinit
|
libsForQt5.kinit
|
||||||
|
|
19
common/users/homeModules/nvim.light.nix
Normal file
19
common/users/homeModules/nvim.light.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
|
||||||
|
{pkgs, config, ...}: {
|
||||||
|
home = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
neovim
|
||||||
|
];
|
||||||
|
file = {
|
||||||
|
nvim = {
|
||||||
|
recursive = true;
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/light.config";
|
||||||
|
target = "./.config/nvim";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
sessionVariables = {
|
||||||
|
EDITOR = "nvim";
|
||||||
|
MANPAGER = "nvim +Man!";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -13,7 +13,6 @@
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
MANPAGER = "nvim +Man!";
|
MANPAGER = "nvim +Man!";
|
||||||
MANWIDTH = "999";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -1,8 +1,9 @@
|
||||||
{pkgs, lib, ...}: {
|
{ pkgs, lib, ... }:
|
||||||
|
{
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
# CLI ONLY
|
||||||
unixtools.xxd
|
unixtools.xxd
|
||||||
filelight
|
|
||||||
p7zip
|
p7zip
|
||||||
dig
|
dig
|
||||||
bat
|
bat
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
|
|
||||||
# TODO: make these modular
|
# TODO: make these modular
|
||||||
_ = [
|
_ = [
|
||||||
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
|
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
@ -7,6 +6,12 @@
|
||||||
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
../homeModules/nvim.light.nix
|
||||||
|
../homeModules/git.nix
|
||||||
|
../homeModules/zsh.nix
|
||||||
|
../homeModules/sops.nix
|
||||||
|
../homeModules/utils.nix
|
||||||
|
../homeModules/media/cli.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
|
|
Loading…
Add table
Reference in a new issue