Skip to content

Commit

Permalink
feat(flake): update inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
tsandrini committed May 22, 2024
1 parent 6bc971d commit b23c862
Show file tree
Hide file tree
Showing 61 changed files with 461 additions and 612 deletions.
537 changes: 194 additions & 343 deletions flake.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions lib/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rec {
*Type*: `Option`
*/
mkImpermanenceEnableOption =
mkAlreadyEnabledOption (mdDoc ''
mkAlreadyEnabledOption ''
Whether to autoappend files/folders to the persistence system.
For more info on the persistence system refer to the system.persistence
NixOS module documentation.
Expand All @@ -44,7 +44,7 @@ rec {
2. tensorfiles.system.persistence module is loaded
3. tensorfiles.system.persistence.enable = true;
'')
''
// {
default = true;
};
Expand All @@ -56,7 +56,7 @@ rec {
*Type*: `Option`
*/
mkPywalEnableOption =
mkAlreadyEnabledOption (mdDoc ''
mkAlreadyEnabledOption ''
Whether to enable the integration with the pywal colorscheme generator
program. The integration may range from just some color parsing/loading to
sometimes full on detailed plugins depending on the context.
Expand All @@ -68,7 +68,7 @@ rec {
2. tensorfiles.programs.pywal module is loaded
3. tensorfiles.programs.pywal.enable = true;
'')
''
// {
default = true;
};
Expand All @@ -80,7 +80,7 @@ rec {
*Type*: `Option`
*/
mkAgenixEnableOption =
mkAlreadyEnabledOption (mdDoc ''
mkAlreadyEnabledOption ''
Whether to enable the agenix ecosystem for handling secrets, which includes
a. passwords
Expand All @@ -102,7 +102,7 @@ rec {
2. tensorfiles.security.agenix module is loaded
3. tensorfiles.security.agenix.enable = true;
'')
''
// {
default = true;
};
Expand Down Expand Up @@ -146,7 +146,7 @@ rec {
# just initialize the defaults
"myOtherUser" = { };
};
description = mdDoc ''
description = ''
Multiuser users configuration option submodule.
Enables doing module level configurations via simple attrsets.
'';
Expand Down
2 changes: 1 addition & 1 deletion parts/hosts/spinorbundle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ mount /dev/disk/by-label/boot /mnt/boot
```

_Notenote_: At this stage you should either start an ssh-agent
(``eval `ssh-agent` ``) and add the
(`` eval `ssh-agent` ``) and add the
appropriate keys (`ssh-add /root/.ssh/id_ed25519`) or in case you don't want
to use agenix you should patch the config with your desired way of handling
secrets and default passwords.
Expand Down
12 changes: 6 additions & 6 deletions parts/modules/home-manager/hardware/nixGL.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ let
in
{
options.tensorfiles.hm.hardware.nixGL = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';

pkg = mkOption {
type = package;
Expand All @@ -63,14 +63,14 @@ in
};

programPatches = {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
Enables the nixGL program patches
'');
'';

kitty =
mkEnableOption (mdDoc ''
mkEnableOption ''
Enables the kitty executable wrapper
'')
''
// {
default = true;
};
Expand Down
4 changes: 2 additions & 2 deletions parts/modules/home-manager/misc/gtk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ let
in
{
options.tensorfiles.hm.misc.gtk = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';
};

config = mkIf cfg.enable (mkMerge [
Expand Down
14 changes: 7 additions & 7 deletions parts/modules/home-manager/misc/xdg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,39 +49,39 @@ let
in
{
options.tensorfiles.hm.misc.xdg = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
Enables NixOS module that configures/handles the xdg toolset.
'');
'';

defaultApplications = {
enable =
mkEnableOption (mdDoc ''
mkEnableOption ''
TODO
'')
''
// {
default = true;
};

browser = mkOption {
type = nullOr str;
default = null;
description = mdDoc ''
description = ''
TODO
'';
};

editor = mkOption {
type = nullOr str;
default = null;
description = mdDoc ''
description = ''
TODO
'';
};

terminal = mkOption {
type = nullOr str;
default = null;
description = mdDoc ''
description = ''
TODO
'';
};
Expand Down
4 changes: 2 additions & 2 deletions parts/modules/home-manager/profiles/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ let
in
{
options.tensorfiles.hm.profiles.base = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';
};

config = mkIf cfg.enable (mkMerge [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ let
in
{
options.tensorfiles.hm.profiles.graphical-plasma = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';
};

imports = with inputs; [ plasma-manager.homeManagerModules.plasma-manager ];
Expand Down
4 changes: 2 additions & 2 deletions parts/modules/home-manager/profiles/graphical-xmonad.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ let
in
{
options.tensorfiles.hm.profiles.graphical-xmonad = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';
};

config = mkIf cfg.enable (mkMerge [
Expand Down
4 changes: 2 additions & 2 deletions parts/modules/home-manager/profiles/headless.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ let
in
{
options.tensorfiles.hm.profiles.headless = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';

impermanence = {
enable = mkImpermanenceEnableOption;
Expand Down
4 changes: 2 additions & 2 deletions parts/modules/home-manager/profiles/minimal.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ let
in
{
options.tensorfiles.hm.profiles.minimal = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';
};

config = mkIf cfg.enable (mkMerge [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ let
in
{
options.tensorfiles.hm.programs.browsers.firefox = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';

impermanence = {
enable = mkImpermanenceEnableOption;
Expand Down
4 changes: 2 additions & 2 deletions parts/modules/home-manager/programs/btop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ let
in
{
options.tensorfiles.hm.programs.btop = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';
};

config = mkIf cfg.enable (mkMerge [
Expand Down
4 changes: 2 additions & 2 deletions parts/modules/home-manager/programs/direnv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ let
in
{
options.tensorfiles.hm.programs.direnv = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
Enables a HomeManager module that sets up direnv.
References
- https://github.com/direnv/direnv
'');
'';
};

config = mkIf cfg.enable (mkMerge [
Expand Down
6 changes: 3 additions & 3 deletions parts/modules/home-manager/programs/dmenu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ let
in
{
options.tensorfiles.hm.programs.dmenu = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';

pywal = {
enable = mkPywalEnableOption;
Expand All @@ -59,7 +59,7 @@ in
pkg = mkOption {
type = package;
default = pkgs.dmenu;
description = mdDoc ''
description = ''
Which package to use for the dmenu binaries. You can provide any
custom derivation of your choice as long as the main binaries
reside at
Expand Down
10 changes: 5 additions & 5 deletions parts/modules/home-manager/programs/editors/emacs-doom.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ let
in
{
options.tensorfiles.hm.programs.editors.emacs-doom = with types; {
enable = mkEnableOption (mdDoc ''
enable = mkEnableOption ''
TODO
'');
'';

impermanence = {
enable = mkImpermanenceEnableOption;
Expand All @@ -57,7 +57,7 @@ in
repoUrl = mkOption {
type = str;
default = "https://github.com/doomemacs/doomemacs";
description = mdDoc ''
description = ''
TODO
'';
};
Expand All @@ -66,7 +66,7 @@ in
type = str;
# default = "[email protected]:tsandrini/.doom.d.git";
default = "https://github.com/tsandrini/.doom.d.git";
description = mdDoc ''
description = ''
TODO
'';
};
Expand Down Expand Up @@ -113,7 +113,7 @@ in
# :lang beancount
fava # HACK Momentarily broken on nixos-unstable
graphviz
nodejs_21
nodejs

# fonts
emacs-all-the-icons-fonts
Expand Down
Loading

0 comments on commit b23c862

Please sign in to comment.