treewide: remove unused code (#6985)
This commit is contained in:
parent
76274a2130
commit
5da6eafceb
87 changed files with 613 additions and 749 deletions
|
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{
|
||||||
self,
|
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
scss-reset,
|
scss-reset,
|
||||||
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
supportedSystems = [
|
supportedSystems = [
|
||||||
|
|
|
||||||
|
|
@ -3,20 +3,9 @@
|
||||||
confPath,
|
confPath,
|
||||||
confAttr ? null,
|
confAttr ? null,
|
||||||
check ? true,
|
check ? true,
|
||||||
newsReadIdsFile ? null,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs.lib)
|
|
||||||
concatMapStringsSep
|
|
||||||
fileContents
|
|
||||||
filter
|
|
||||||
length
|
|
||||||
optionalString
|
|
||||||
removeSuffix
|
|
||||||
replaceStrings
|
|
||||||
splitString
|
|
||||||
;
|
|
||||||
|
|
||||||
env = import ../modules {
|
env = import ../modules {
|
||||||
configuration =
|
configuration =
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,6 @@
|
||||||
check ? true,
|
check ? true,
|
||||||
# Deprecated:
|
# Deprecated:
|
||||||
configuration ? null,
|
configuration ? null,
|
||||||
extraModules ? null,
|
|
||||||
stateVersion ? null,
|
|
||||||
username ? null,
|
|
||||||
homeDirectory ? null,
|
|
||||||
system ? null,
|
|
||||||
}@args:
|
}@args:
|
||||||
let
|
let
|
||||||
msgForRemovedArg = ''
|
msgForRemovedArg = ''
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,6 @@ in
|
||||||
i: before: after: entries:
|
i: before: after: entries:
|
||||||
let
|
let
|
||||||
name = "${tag}-${toString i}";
|
name = "${tag}-${toString i}";
|
||||||
i' = i + 1;
|
|
||||||
in
|
in
|
||||||
if entries == [ ] then
|
if entries == [ ] then
|
||||||
hm.dag.empty
|
hm.dag.empty
|
||||||
|
|
|
||||||
|
|
@ -2,24 +2,13 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
concatStringsSep
|
|
||||||
defaultFunctor
|
defaultFunctor
|
||||||
fixedWidthNumber
|
|
||||||
hm
|
hm
|
||||||
imap1
|
|
||||||
isAttrs
|
|
||||||
isList
|
|
||||||
length
|
|
||||||
listToAttrs
|
|
||||||
mapAttrs
|
|
||||||
mkIf
|
mkIf
|
||||||
mkOrder
|
mkOrder
|
||||||
mkOption
|
mkOption
|
||||||
mkOptionType
|
mkOptionType
|
||||||
nameValuePair
|
|
||||||
stringLength
|
|
||||||
types
|
types
|
||||||
warn
|
|
||||||
;
|
;
|
||||||
|
|
||||||
dagEntryOf =
|
dagEntryOf =
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ let
|
||||||
mergeAttrs
|
mergeAttrs
|
||||||
mergeDefaultOption
|
mergeDefaultOption
|
||||||
mergeOneOption
|
mergeOneOption
|
||||||
mergeOptions
|
|
||||||
mkOption
|
mkOption
|
||||||
mkOptionType
|
mkOptionType
|
||||||
showFiles
|
showFiles
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
generators
|
|
||||||
types
|
|
||||||
mkIf
|
mkIf
|
||||||
mkEnableOption
|
mkEnableOption
|
||||||
mkPackageOption
|
mkPackageOption
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,7 @@ let
|
||||||
|
|
||||||
cfg = config.programs.fish;
|
cfg = config.programs.fish;
|
||||||
|
|
||||||
pluginModule = types.submodule (
|
pluginModule = types.submodule {
|
||||||
{ config, ... }:
|
|
||||||
{
|
|
||||||
options = {
|
options = {
|
||||||
src = mkOption {
|
src = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
|
|
@ -39,8 +37,7 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
|
||||||
functionModule = types.submodule {
|
functionModule = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|
@ -480,7 +477,6 @@ in
|
||||||
destructiveSymlinkJoin =
|
destructiveSymlinkJoin =
|
||||||
args_@{
|
args_@{
|
||||||
name,
|
name,
|
||||||
paths,
|
|
||||||
preferLocalBuild ? true,
|
preferLocalBuild ? true,
|
||||||
allowSubstitutes ? false,
|
allowSubstitutes ? false,
|
||||||
postBuild ? "",
|
postBuild ? "",
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,7 @@ let
|
||||||
"tty"
|
"tty"
|
||||||
];
|
];
|
||||||
|
|
||||||
backForeSubModule = types.submodule (
|
backForeSubModule = types.submodule {
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
options = {
|
options = {
|
||||||
foreground = mkOption {
|
foreground = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
@ -31,12 +29,9 @@ let
|
||||||
description = "The background color.";
|
description = "The background color.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
|
||||||
profileColorsSubModule = types.submodule (
|
profileColorsSubModule = types.submodule {
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
options = {
|
options = {
|
||||||
foregroundColor = mkOption {
|
foregroundColor = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
@ -71,12 +66,9 @@ let
|
||||||
description = "The colors for the terminal’s highlighted area.";
|
description = "The colors for the terminal’s highlighted area.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
|
||||||
profileSubModule = types.submodule (
|
profileSubModule = types.submodule {
|
||||||
{ name, config, ... }:
|
|
||||||
{
|
|
||||||
options = {
|
options = {
|
||||||
default = mkOption {
|
default = mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
|
|
@ -230,8 +222,7 @@ let
|
||||||
description = "Background transparency in percent.";
|
description = "Background transparency in percent.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
|
||||||
buildProfileSet =
|
buildProfileSet =
|
||||||
pcfg:
|
pcfg:
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf mkOption types;
|
inherit (lib) mkIf mkOption;
|
||||||
|
|
||||||
cfg = config.programs.joshuto;
|
cfg = config.programs.joshuto;
|
||||||
tomlFormat = pkgs.formats.toml { };
|
tomlFormat = pkgs.formats.toml { };
|
||||||
|
|
|
||||||
|
|
@ -173,7 +173,6 @@ let
|
||||||
author,
|
author,
|
||||||
name,
|
name,
|
||||||
version,
|
version,
|
||||||
hash,
|
|
||||||
}@args:
|
}@args:
|
||||||
pkgs.stdenvNoCC.mkDerivation {
|
pkgs.stdenvNoCC.mkDerivation {
|
||||||
pname = "lapce-plugin-${author}-${name}";
|
pname = "lapce-plugin-${author}-${name}";
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ let
|
||||||
]);
|
]);
|
||||||
|
|
||||||
perAccountGroups =
|
perAccountGroups =
|
||||||
{ name, config, ... }:
|
{ name, ... }:
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
|
|
@ -43,7 +43,7 @@ let
|
||||||
|
|
||||||
# Options for configuring channel(s) that will be composed together into a group.
|
# Options for configuring channel(s) that will be composed together into a group.
|
||||||
channel =
|
channel =
|
||||||
{ name, config, ... }:
|
{ name, ... }:
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@ let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
mkEnableOption
|
mkEnableOption
|
||||||
mkPackageOption
|
mkPackageOption
|
||||||
types
|
|
||||||
literalExpression
|
|
||||||
mkIf
|
mkIf
|
||||||
maintainers
|
maintainers
|
||||||
;
|
;
|
||||||
|
|
|
||||||
|
|
@ -43,9 +43,7 @@ let
|
||||||
str
|
str
|
||||||
];
|
];
|
||||||
|
|
||||||
bindingType = types.submodule (
|
bindingType = types.submodule {
|
||||||
{ name, config, ... }:
|
|
||||||
{
|
|
||||||
options = {
|
options = {
|
||||||
key = mkOption {
|
key = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
@ -59,9 +57,7 @@ let
|
||||||
example = "scroll_down";
|
example = "scroll_down";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
meta.maintainers = [ lib.hm.maintainers.olmokramer ];
|
meta.maintainers = [ lib.hm.maintainers.olmokramer ];
|
||||||
|
|
|
||||||
|
|
@ -447,7 +447,6 @@ in
|
||||||
programs.neovim.generatedConfigs =
|
programs.neovim.generatedConfigs =
|
||||||
let
|
let
|
||||||
grouped = lib.lists.groupBy (x: x.type) pluginsNormalized;
|
grouped = lib.lists.groupBy (x: x.type) pluginsNormalized;
|
||||||
concatConfigs = lib.concatMapStrings (p: p.config);
|
|
||||||
configsOnly = lib.foldl (acc: p: if p.config != null then acc ++ [ p.config ] else acc) [ ];
|
configsOnly = lib.foldl (acc: p: if p.config != null then acc ++ [ p.config ] else acc) [ ];
|
||||||
in
|
in
|
||||||
lib.mapAttrs (name: vals: lib.concatStringsSep "\n" (configsOnly vals)) grouped;
|
lib.mapAttrs (name: vals: lib.concatStringsSep "\n" (configsOnly vals)) grouped;
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@ let
|
||||||
mkPackageOption
|
mkPackageOption
|
||||||
mkOption
|
mkOption
|
||||||
types
|
types
|
||||||
concatStringsSep
|
|
||||||
mapAttrsToList
|
|
||||||
;
|
;
|
||||||
|
|
||||||
cfg = config.programs.onedrive;
|
cfg = config.programs.onedrive;
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ in
|
||||||
libraries = mkOption {
|
libraries = mkOption {
|
||||||
type = types.attrsOf (
|
type = types.attrsOf (
|
||||||
types.submodule (
|
types.submodule (
|
||||||
{ config, name, ... }:
|
{ name, ... }:
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ let
|
||||||
|
|
||||||
cfg = config.programs.pyenv;
|
cfg = config.programs.pyenv;
|
||||||
|
|
||||||
tomlFormat = pkgs.formats.toml { };
|
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
meta.maintainers = with lib.maintainers; [ tmarkus ];
|
meta.maintainers = with lib.maintainers; [ tmarkus ];
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,6 @@ let
|
||||||
lib.filterAttrs (_: a: a.qcal.enable) config.accounts.calendar.accounts
|
lib.filterAttrs (_: a: a.qcal.enable) config.accounts.calendar.accounts
|
||||||
);
|
);
|
||||||
|
|
||||||
rename =
|
|
||||||
oldname:
|
|
||||||
builtins.getAttr oldname {
|
|
||||||
url = "Url";
|
|
||||||
userName = "Username";
|
|
||||||
passwordCommand = "PasswordCmd";
|
|
||||||
};
|
|
||||||
|
|
||||||
filteredAccounts =
|
filteredAccounts =
|
||||||
let
|
let
|
||||||
mkAccount =
|
mkAccount =
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,7 @@ let
|
||||||
|
|
||||||
jsonFormat = pkgs.formats.json { };
|
jsonFormat = pkgs.formats.json { };
|
||||||
|
|
||||||
mountOpts =
|
mountOpts = {
|
||||||
{ config, name, ... }:
|
|
||||||
{
|
|
||||||
options = {
|
options = {
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
|
||||||
|
|
@ -70,9 +70,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
matchBlockModule = types.submodule (
|
matchBlockModule = types.submodule {
|
||||||
{ dagName, ... }:
|
|
||||||
{
|
|
||||||
options = {
|
options = {
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
|
|
@ -350,8 +348,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
# config.host = mkDefault dagName;
|
# config.host = mkDefault dagName;
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
|
||||||
matchBlockStr =
|
matchBlockStr =
|
||||||
key: cf:
|
key: cf:
|
||||||
|
|
|
||||||
|
|
@ -275,7 +275,7 @@ in
|
||||||
feedAccounts = mkOption {
|
feedAccounts = mkOption {
|
||||||
type = types.attrsOf (
|
type = types.attrsOf (
|
||||||
types.submodule (
|
types.submodule (
|
||||||
{ config, name, ... }:
|
{ name, ... }:
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
all
|
|
||||||
filterAttrs
|
filterAttrs
|
||||||
isStorePath
|
isStorePath
|
||||||
literalExpression
|
literalExpression
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,7 @@ let
|
||||||
|
|
||||||
cfg = config.programs.zsh.zplug;
|
cfg = config.programs.zsh.zplug;
|
||||||
|
|
||||||
pluginModule = types.submodule (
|
pluginModule = types.submodule {
|
||||||
{ config, ... }:
|
|
||||||
{
|
|
||||||
options = {
|
options = {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
@ -24,10 +22,7 @@ let
|
||||||
description = "The plugin tags.";
|
description = "The plugin tags.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.programs.zsh.zplug = {
|
options.programs.zsh.zplug = {
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@ let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
mkEnableOption
|
mkEnableOption
|
||||||
mkPackageOption
|
mkPackageOption
|
||||||
types
|
|
||||||
literalExpression
|
|
||||||
mkIf
|
mkIf
|
||||||
maintainers
|
maintainers
|
||||||
;
|
;
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@ let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
mkEnableOption
|
mkEnableOption
|
||||||
mkPackageOption
|
mkPackageOption
|
||||||
types
|
|
||||||
literalExpression
|
|
||||||
mkIf
|
mkIf
|
||||||
maintainers
|
maintainers
|
||||||
;
|
;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
any
|
any
|
||||||
attrValues
|
attrValues
|
||||||
getAttr
|
|
||||||
hm
|
hm
|
||||||
isBool
|
isBool
|
||||||
literalExpression
|
literalExpression
|
||||||
|
|
|
||||||
|
|
@ -10,15 +10,6 @@ let
|
||||||
default = null;
|
default = null;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
mkNullableEnableOption =
|
|
||||||
name:
|
|
||||||
lib.mkOption {
|
|
||||||
type = with lib.types; nullOr bool;
|
|
||||||
default = null;
|
|
||||||
example = true;
|
|
||||||
description = "Whether to enable ${name}.";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
freeformType = with lib.types; attrsOf (attrsOf anything);
|
freeformType = with lib.types; attrsOf (attrsOf anything);
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{
|
{
|
||||||
nixpkgs,
|
|
||||||
home-manager,
|
home-manager,
|
||||||
darwin,
|
darwin,
|
||||||
...
|
...
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{ nixpkgs, home-manager, ... }:
|
{ nixpkgs, home-manager, ... }:
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
hostname = nixpkgs.lib.nixosSystem {
|
hostname = nixpkgs.lib.nixosSystem {
|
||||||
|
|
|
||||||
|
|
@ -41,11 +41,7 @@ let
|
||||||
if lib.isDerivation value then scrubbedValue // newDrvAttrs else scrubbedValue
|
if lib.isDerivation value then scrubbedValue // newDrvAttrs else scrubbedValue
|
||||||
else
|
else
|
||||||
value;
|
value;
|
||||||
scrubDerivations =
|
scrubDerivations = attrs: lib.mapAttrs scrubDerivation attrs;
|
||||||
attrs:
|
|
||||||
let
|
|
||||||
in
|
|
||||||
lib.mapAttrs scrubDerivation attrs;
|
|
||||||
|
|
||||||
# Globally unscrub a few selected packages that are used by a wide selection of tests.
|
# Globally unscrub a few selected packages that are used by a wide selection of tests.
|
||||||
whitelist =
|
whitelist =
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{ self, nixpkgs, ... }:
|
{ nixpkgs, ... }:
|
||||||
let
|
let
|
||||||
forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
|
forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
# 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
|
||||||
# manage.
|
# manage.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.username = "alice";
|
home.username = "alice";
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
# 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
|
||||||
# manage.
|
# manage.
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
inherit (pkgs.lib) escapeShellArg;
|
|
||||||
|
|
||||||
nixHome = "/home/alice@home\\extra";
|
nixHome = "/home/alice@home\\extra";
|
||||||
pyHome = "/home/alice@home\\\\extra";
|
pyHome = "/home/alice@home\\\\extra";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
inherit (pkgs.lib) escapeShellArg;
|
|
||||||
|
|
||||||
home = "/home/alice";
|
home = "/home/alice";
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.file."tokdl-result.txt".text = lib.hm.generators.toKDL { } {
|
home.file."tokdl-result.txt".text = lib.hm.generators.toKDL { } {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.file."toscfg-empty-result.txt".text = lib.hm.generators.toSCFG { } { };
|
home.file."toscfg-empty-result.txt".text = lib.hm.generators.toSCFG { } { };
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.file."toscfg-err-dir-empty-name-result.txt".text = lib.hm.generators.toSCFG { } { "" = [ ]; };
|
home.file."toscfg-err-dir-empty-name-result.txt".text = lib.hm.generators.toSCFG { } { "" = [ ]; };
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.file."toscfg-example-result.txt".text = lib.hm.generators.toSCFG { } {
|
home.file."toscfg-example-result.txt".text = lib.hm.generators.toSCFG { } {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
# Test fallback behavior for stateVersion >= 20.09, which is pure.
|
# Test fallback behavior for stateVersion >= 20.09, which is pure.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.cava = {
|
programs.cava = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.cavalier = {
|
programs.cavalier = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.cavalier = {
|
programs.cavalier = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
programs.darcs = {
|
programs.darcs = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
programs.darcs = {
|
programs.darcs = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
{ lib, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./stubs.nix ];
|
imports = [ ./stubs.nix ];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
programs.mergiraf.enable = true;
|
programs.mergiraf.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
{ config, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
espansoExtraArgs:
|
espansoExtraArgs: {
|
||||||
{ config, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.espanso = {
|
services.espanso = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configs = {
|
configs = {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.gromit-mpx = {
|
services.gromit-mpx = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.gromit-mpx = {
|
services.gromit-mpx = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
services.kanshi = {
|
services.kanshi = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
services.kanshi = {
|
services.kanshi = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
services.kanshi = {
|
services.kanshi = {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.parcellite = {
|
services.parcellite = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.pass-secret-service = {
|
services.pass-secret-service = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.pass-secret-service = {
|
services.pass-secret-service = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
xsession = {
|
xsession = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
userConf=home-files/.config/systemd/user.conf
|
userConf=home-files/.config/systemd/user.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue