Disable atuin on images
This commit is contained in:
parent
cfd307d0cc
commit
21b7ba63aa
3 changed files with 5 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
|||
++ lib.optional (builtins.isString desktop) ./common/software/gui # GUI packages
|
||||
++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop} # Machine-agnostic desktop configs
|
||||
++ lib.optional (builtins.isString desktop) ./hosts/${hostname}/desktops/${desktop} # Machine-specific desktop configs
|
||||
++ lib.optional {builtins.isString image } ./common/image-specific.nix # Disables things that require secrets
|
||||
++ lib.optional (builtins.isString image ) ./common/image-specific.nix # Image specific items
|
||||
;
|
||||
|
||||
news.display = "silent";
|
||||
|
|
|
@ -23,10 +23,11 @@
|
|||
desktop ? null,
|
||||
system ? "x86_64-linux",
|
||||
theme ? "default",
|
||||
type ? "default"
|
||||
type ? "default",
|
||||
image ? null
|
||||
}: inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
extraSpecialArgs = { inherit inputs outputs desktop hostname system username hmStateVersion theme; };
|
||||
extraSpecialArgs = { inherit inputs outputs desktop hostname system username hmStateVersion theme image; };
|
||||
modules = [ ../home-manager/${type}.nix ];
|
||||
};
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, desktop, lib, pkgs, username, ... }:
|
||||
let
|
||||
ifExists = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||
install-system = pkgs.writeScriptBin "install-system" ${builtins.readFile ../../../docs/install.sh}";
|
||||
install-system = pkgs.writeScriptBin "install-system" "${builtins.readFile ../../../docs/install.sh}";
|
||||
in
|
||||
{
|
||||
config.environment.systemPackages = [ install-system ];
|
||||
|
|
Loading…
Reference in a new issue