apps
This commit is contained in:
parent
c003e4c44c
commit
f2dc32ac0c
5 changed files with 86 additions and 2 deletions
|
|
@ -4,9 +4,16 @@
|
|||
./clipman.nix
|
||||
./common.nix
|
||||
./direnv.nix
|
||||
./dunst.nix
|
||||
./fzf.nix
|
||||
./git.nix
|
||||
./gpg.nix
|
||||
./helix.nix
|
||||
./packages.nix
|
||||
# ./persist.nix
|
||||
./persist.nix
|
||||
./playerctld.nix
|
||||
./rofi.nix
|
||||
./sops.nix
|
||||
./stylix.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
55
home/helix.nix
Normal file
55
home/helix.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
pkgs,
|
||||
helix,
|
||||
...
|
||||
}: {
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
package = helix.packages.${pkgs.system}.default;
|
||||
settings = {
|
||||
theme = "gruvbox_dark_hard";
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
mouse = false;
|
||||
cursorline = true;
|
||||
cursor-shape = {
|
||||
insert = "bar";
|
||||
normal = "block";
|
||||
select = "underline";
|
||||
};
|
||||
file-picker = {hidden = false;};
|
||||
statusline = {
|
||||
left = ["mode" "spinner"];
|
||||
center = ["file-name" "read-only-indicator" "file-modification-indicator"];
|
||||
right = [
|
||||
"version-control"
|
||||
"diagnostics"
|
||||
"selections"
|
||||
"register"
|
||||
"position"
|
||||
"position-percentage"
|
||||
"file-encoding"
|
||||
"file-line-ending"
|
||||
"file-type"
|
||||
];
|
||||
separator = "|";
|
||||
};
|
||||
lsp = {
|
||||
display-messages = true;
|
||||
display-inlay-hints = true;
|
||||
};
|
||||
indent-guides = {render = true;};
|
||||
idle-timeout = 0;
|
||||
bufferline = "always";
|
||||
soft-wrap = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
keys = {
|
||||
insert = {
|
||||
"C-space" = "completion";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
6
home/rofi.nix
Normal file
6
home/rofi.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
};
|
||||
}
|
||||
10
home/sops.nix
Normal file
10
home/sops.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
conf,
|
||||
sops-nix,
|
||||
...
|
||||
}: {
|
||||
imports = [sops-nix.homeManagerModules.sops];
|
||||
sops = {
|
||||
age.keyFile = "/persist/data${conf.home}/.config/sops/age/keys.txt";
|
||||
};
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
conf,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
} @ inputs: {
|
||||
users.mutableUsers = false;
|
||||
users.users = {
|
||||
${conf.user} = {
|
||||
|
|
@ -13,6 +13,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = inputs // {system-config = config;};
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
};
|
||||
|
||||
home-manager.users = let
|
||||
hm = import ../home;
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue