mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-18 18:57:32 -08:00
by default include chezmoi
This commit is contained in:
parent
628d4d4da2
commit
bf4fd731df
@ -33,11 +33,8 @@
|
||||
steam.enable = true;
|
||||
};
|
||||
programs = {
|
||||
chezmoi.apply = true;
|
||||
kitty.enable = true;
|
||||
chezmoi = {
|
||||
enable = true;
|
||||
apply = true;
|
||||
};
|
||||
};
|
||||
services = {
|
||||
samba-client.enable = true;
|
||||
|
@ -53,11 +53,8 @@
|
||||
steam.enable = true;
|
||||
};
|
||||
programs = {
|
||||
chezmoi.apply = true;
|
||||
kitty.enable = true;
|
||||
chezmoi = {
|
||||
enable = true;
|
||||
apply = true;
|
||||
};
|
||||
};
|
||||
services = {
|
||||
peripherals.enable = true;
|
||||
|
@ -37,10 +37,7 @@
|
||||
};
|
||||
programs = {
|
||||
kitty.enable = true;
|
||||
chezmoi = {
|
||||
enable = true;
|
||||
apply = true;
|
||||
};
|
||||
chezmoi.apply = true;
|
||||
};
|
||||
services = {
|
||||
peripherals.enable = true;
|
||||
|
@ -97,10 +97,7 @@
|
||||
tooling.enable = true;
|
||||
};
|
||||
programs = {
|
||||
chezmoi = {
|
||||
enable = true;
|
||||
apply = true;
|
||||
};
|
||||
chezmoi.apply = true;
|
||||
};
|
||||
services = {
|
||||
jellyfin.enable = true;
|
||||
|
@ -51,10 +51,7 @@ in
|
||||
tooling.enable = true;
|
||||
};
|
||||
programs = {
|
||||
chezmoi = {
|
||||
enable = true;
|
||||
apply = true;
|
||||
};
|
||||
chezmoi.apply = true;
|
||||
};
|
||||
system = {
|
||||
ssh.enable = true;
|
||||
|
@ -3,7 +3,10 @@
|
||||
let cfg = config.modules.programs.chezmoi;
|
||||
in {
|
||||
options.modules.programs.chezmoi = with lib; {
|
||||
enable = lib.mkEnableOption "chezmoi";
|
||||
enable = lib.mkOption {
|
||||
type = with types; bool;
|
||||
default = true;
|
||||
};
|
||||
apply = lib.mkOption {
|
||||
type = with types; bool;
|
||||
default = false;
|
||||
@ -12,9 +15,8 @@ in {
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
chezmoi # Manages your dotfiles across multiple machines, ensuring consistency and version control
|
||||
chezmoi
|
||||
];
|
||||
|
||||
# Optionally apply chezmoi dotfiles with home-manager activation
|
||||
home-manager.users.${user} = lib.mkIf cfg.apply {
|
||||
home.activation.chezmoi = home-manager.lib.hm.dag.entryAfter [ "installPackages" ] ''
|
||||
|
@ -8,7 +8,6 @@ in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
killall # Command-line utility to terminate processes by name.
|
||||
pciutils # Utilities for inspecting and manipulating devices connected to the PCI bus.
|
||||
chezmoi # Manages your dotfiles across multiple machines, ensuring consistency and version control.
|
||||
btop # Terminal-based resource monitor, providing an interactive view of system resources.
|
||||
nix-search-cli # Command-line utility for searching the Nix package repository.
|
||||
rbw # Command-line interface to the Bitwarden password manager.
|
||||
|
Loading…
x
Reference in New Issue
Block a user