lol idk
This commit is contained in:
parent
695c67bce5
commit
c351c646a3
13 changed files with 222 additions and 75 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ self, inputs, ... }:
|
||||
|
||||
# let bindings
|
||||
let
|
||||
|
|
@ -12,27 +12,42 @@ in
|
|||
|
||||
{
|
||||
|
||||
# list of modules to include
|
||||
imports = [
|
||||
./programs
|
||||
./kitty.nix
|
||||
./fish.nix
|
||||
];
|
||||
# terminal supermodule
|
||||
flake.homeModules.terminal = { config, pkgs, ... }: {
|
||||
|
||||
# environment variables
|
||||
home.sessionVariables = {
|
||||
# list of modules to include
|
||||
imports = [
|
||||
|
||||
# clean up ~
|
||||
LESSHISTFILE = "${cache}/less/history";
|
||||
LESSKEY = "${conf}/less/lesskey";
|
||||
# terminal emulator
|
||||
self.modules.kitty
|
||||
# text editor
|
||||
self.modules.helix
|
||||
# file manager
|
||||
self.modules.yazi
|
||||
# shell and prompt
|
||||
self.modules.fish
|
||||
# version control
|
||||
self.modules.git
|
||||
|
||||
WINEPREFIX = "${data}/wine";
|
||||
XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
|
||||
];
|
||||
|
||||
EDITOR = "helix";
|
||||
DIRENV_LOG_FORMAT = "";
|
||||
# environment variables
|
||||
home.sessionVariables = {
|
||||
|
||||
# clean up ~
|
||||
LESSHISTFILE = "${cache}/less/history";
|
||||
LESSKEY = "${conf}/less/lesskey";
|
||||
|
||||
WINEPREFIX = "${data}/wine";
|
||||
XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
|
||||
|
||||
EDITOR = "helix";
|
||||
DIRENV_LOG_FORMAT = "";
|
||||
|
||||
# auto-run programs using nix-index-database
|
||||
NIX_AUTO_RUN = "1";
|
||||
};
|
||||
|
||||
# auto-run programs using nix-index-database
|
||||
NIX_AUTO_RUN = "1";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,24 @@
|
|||
{ self, inputs, ... }: {
|
||||
|
||||
perSystem = { pkgs, ... }: {
|
||||
flake.modules.homeManager.fish = {
|
||||
|
||||
# defines a custom fish package
|
||||
packages.myFish = inputs.wrapper-modules.wrappers.fish.wrap {
|
||||
home.packages = with pkgs; [
|
||||
fish
|
||||
];
|
||||
|
||||
settings = {
|
||||
foo = bar;
|
||||
programs = {
|
||||
|
||||
# starship prompt
|
||||
starship = {
|
||||
enable = true;
|
||||
settings = { };
|
||||
};
|
||||
|
||||
# fish shell
|
||||
fish = {
|
||||
enable = true;
|
||||
settings = { };
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
{ self, inputs, ... }: {
|
||||
|
||||
perSystem = { pkgs, ... }: {
|
||||
# defines a custom git module
|
||||
flake.modules.homeManager.git = {
|
||||
|
||||
# defines a custom git package
|
||||
packages.myGit = inputs.wrapper-modules.wrappers.git.wrap {
|
||||
|
||||
settings = {
|
||||
foo = bar;
|
||||
};
|
||||
# packages to include
|
||||
home.packages = with pkgs; [
|
||||
git
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,10 +1,16 @@
|
|||
{ self, inputs, ... }: {
|
||||
|
||||
# defines a custom helix module
|
||||
flake.modules.homeManager.helix = {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
helix
|
||||
];
|
||||
|
||||
programs.helix = {
|
||||
|
||||
enable = true; # enables helix
|
||||
# enables helix
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,26 +1,22 @@
|
|||
{ self, inputs, ... }: {
|
||||
|
||||
flake.nixosModules.niri = { pkgs, lib, ... }: {
|
||||
programs.niri = {
|
||||
# defines a custom yazi module
|
||||
flake.modules.homeManager.yazi = {
|
||||
|
||||
# packages to include
|
||||
home.package = with pkgs; [
|
||||
yazi
|
||||
];
|
||||
|
||||
programs.yazi = {
|
||||
|
||||
# enables yazi
|
||||
enable = true;
|
||||
package = self.packages.${pkgs.stdenv.hostPlatform.system}.myNiri;
|
||||
};
|
||||
};
|
||||
|
||||
perSystem = { pkgs, ... }: {
|
||||
# yazi settings
|
||||
settings = { };
|
||||
|
||||
packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap {
|
||||
inherit pkgs;
|
||||
settings = {
|
||||
foo = bar;
|
||||
foorbar = {
|
||||
bar = true;
|
||||
foo = "always";
|
||||
barbar = 5;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue