mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
fix: typos
This commit is contained in:
parent
8d8644e216
commit
114d2be756
4 changed files with 27 additions and 29 deletions
|
|
@ -154,7 +154,6 @@ In =outputs = inputs@ [...]=, the =inputs@= makes it so that all inputs are auto
|
||||||
inputs@{ self
|
inputs@{ self
|
||||||
, nixpkgs
|
, nixpkgs
|
||||||
, home-manager
|
, home-manager
|
||||||
, nix-darwin
|
|
||||||
, systems
|
, systems
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
|
|
@ -502,17 +501,17 @@ In this section I am creating some attributes that define general concepts of my
|
||||||
NIX_CONFIG = "experimental-features = nix-command flakes";
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
||||||
inherit (checks.pre-commit-check) shellHook;
|
inherit (checks.pre-commit-check) shellHook;
|
||||||
buildInputs = checks.pre-commit-check.enabledPackages;
|
buildInputs = checks.pre-commit-check.enabledPackages;
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = [
|
||||||
nix
|
pkgs.nix
|
||||||
home-manager
|
pkgs.home-manager
|
||||||
git
|
pkgs.git
|
||||||
just
|
pkgs.just
|
||||||
age
|
pkgs.age
|
||||||
ssh-to-age
|
pkgs.ssh-to-age
|
||||||
sops
|
pkgs.sops
|
||||||
statix
|
pkgs.statix
|
||||||
deadnix
|
pkgs.deadnix
|
||||||
nixpkgs-fmt
|
pkgs.nixpkgs-fmt
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -1923,7 +1922,7 @@ swarsel-install -n chaostheatre
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
**** Home-manager only (non-NixOS)
|
**** Home-manager only (default non-NixOS)
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: h:7056b9a0-f38b-4bca-b2ba-ab34e2d73493
|
:CUSTOM_ID: h:7056b9a0-f38b-4bca-b2ba-ab34e2d73493
|
||||||
:END:
|
:END:
|
||||||
|
|
@ -1931,7 +1930,7 @@ swarsel-install -n chaostheatre
|
||||||
This is the "reference implementation" of a setup that runs without NixOS, only relying on home-manager. I try to test this every now and then and keep it supported. However, manual steps are needed to get the system to work fully, depending on what distribution you are running on.
|
This is the "reference implementation" of a setup that runs without NixOS, only relying on home-manager. I try to test this every now and then and keep it supported. However, manual steps are needed to get the system to work fully, depending on what distribution you are running on.
|
||||||
|
|
||||||
#+begin_src nix :tangle hosts/home/default/default.nix
|
#+begin_src nix :tangle hosts/home/default/default.nix
|
||||||
{ self, inputs, outputs, config, ... }:
|
{ self, outputs, config, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = outputs.homeModules ++ outputs.mixedModules ++ (builtins.attrValues outputs.homeManagerModules);
|
imports = outputs.homeModules ++ outputs.mixedModules ++ (builtins.attrValues outputs.homeManagerModules);
|
||||||
|
|
@ -4338,7 +4337,7 @@ Set in firefox =about:config > toolkit.legacyUserProfileCustomizations.styleshee
|
||||||
|
|
||||||
mkFullHostConfigs = hosts: type: lib.foldl (acc: set: acc // set) { } (lib.map (host: lib.swarselsystems.mkFullHost host type) hosts);
|
mkFullHostConfigs = hosts: type: lib.foldl (acc: set: acc // set) { } (lib.map (host: lib.swarselsystems.mkFullHost host type) hosts);
|
||||||
|
|
||||||
mkHalfHostConfigs = hosts: type: pkgs: lib.foldl (acc: set: acc // set) { } (lib.map (host: lib.swarselsystems.mkFullHost host type pkgs) hosts);
|
mkHalfHostConfigs = hosts: type: pkgs: lib.foldl (acc: set: acc // set) { } (lib.map (host: lib.swarselsystems.mkHalfHost host type pkgs) hosts);
|
||||||
|
|
||||||
readHosts = type: lib.attrNames (builtins.readDir "${self}/hosts/${type}");
|
readHosts = type: lib.attrNames (builtins.readDir "${self}/hosts/${type}");
|
||||||
|
|
||||||
|
|
|
||||||
23
flake.nix
23
flake.nix
|
|
@ -123,7 +123,6 @@
|
||||||
inputs@{ self
|
inputs@{ self
|
||||||
, nixpkgs
|
, nixpkgs
|
||||||
, home-manager
|
, home-manager
|
||||||
, nix-darwin
|
|
||||||
, systems
|
, systems
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
|
|
@ -193,17 +192,17 @@
|
||||||
NIX_CONFIG = "experimental-features = nix-command flakes";
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
||||||
inherit (checks.pre-commit-check) shellHook;
|
inherit (checks.pre-commit-check) shellHook;
|
||||||
buildInputs = checks.pre-commit-check.enabledPackages;
|
buildInputs = checks.pre-commit-check.enabledPackages;
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = [
|
||||||
nix
|
pkgs.nix
|
||||||
home-manager
|
pkgs.home-manager
|
||||||
git
|
pkgs.git
|
||||||
just
|
pkgs.just
|
||||||
age
|
pkgs.age
|
||||||
ssh-to-age
|
pkgs.ssh-to-age
|
||||||
sops
|
pkgs.sops
|
||||||
statix
|
pkgs.statix
|
||||||
deadnix
|
pkgs.deadnix
|
||||||
nixpkgs-fmt
|
pkgs.nixpkgs-fmt
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ self, inputs, outputs, config, ... }:
|
{ self, outputs, config, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = outputs.homeModules ++ outputs.mixedModules ++ (builtins.attrValues outputs.homeManagerModules);
|
imports = outputs.homeModules ++ outputs.mixedModules ++ (builtins.attrValues outputs.homeManagerModules);
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
mkFullHostConfigs = hosts: type: lib.foldl (acc: set: acc // set) { } (lib.map (host: lib.swarselsystems.mkFullHost host type) hosts);
|
mkFullHostConfigs = hosts: type: lib.foldl (acc: set: acc // set) { } (lib.map (host: lib.swarselsystems.mkFullHost host type) hosts);
|
||||||
|
|
||||||
mkHalfHostConfigs = hosts: type: pkgs: lib.foldl (acc: set: acc // set) { } (lib.map (host: lib.swarselsystems.mkFullHost host type pkgs) hosts);
|
mkHalfHostConfigs = hosts: type: pkgs: lib.foldl (acc: set: acc // set) { } (lib.map (host: lib.swarselsystems.mkHalfHost host type pkgs) hosts);
|
||||||
|
|
||||||
readHosts = type: lib.attrNames (builtins.readDir "${self}/hosts/${type}");
|
readHosts = type: lib.attrNames (builtins.readDir "${self}/hosts/${type}");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue