mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-22 04:16:05 -07:00
Compare commits
No commits in common. "f92c6e6b5b2ae4eee38a5e2b73bd8ddff1c7c3ff" and "db02ef369cd33720829450099289536e3fe18521" have entirely different histories.
f92c6e6b5b
...
db02ef369c
@ -35,10 +35,6 @@
|
|||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
chezmoi = {
|
|
||||||
enable = true;
|
|
||||||
apply = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
samba-client.enable = true;
|
samba-client.enable = true;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib, system, user, inputs, agenix, home-manager, jovian-nixos, ... }:
|
{ lib, system, user, inputs, agenix, home-manager, jovian-nixos, ... }:
|
||||||
{
|
{
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit user inputs home-manager jovian-nixos; };
|
specialArgs = { inherit user inputs home-manger; };
|
||||||
modules = [
|
modules = [
|
||||||
../default # shared by all configs
|
../default # shared by all configs
|
||||||
../default/physical/configuration.nix # shared by physical machines
|
../default/physical/configuration.nix # shared by physical machines
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(jovian-nixos + "/modules")
|
(jovian-nixos + "/modules")
|
||||||
#home-manager.nixosModule
|
home-manager.nixosModule
|
||||||
];
|
];
|
||||||
|
|
||||||
jovian = {
|
jovian = {
|
||||||
|
@ -54,10 +54,6 @@
|
|||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
chezmoi = {
|
|
||||||
enable = true;
|
|
||||||
apply = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
peripherals.enable = true;
|
peripherals.enable = true;
|
||||||
|
@ -37,10 +37,6 @@
|
|||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
chezmoi = {
|
|
||||||
enable = true;
|
|
||||||
apply = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
peripherals.enable = true;
|
peripherals.enable = true;
|
||||||
|
@ -96,12 +96,6 @@
|
|||||||
devel = {
|
devel = {
|
||||||
tooling.enable = true;
|
tooling.enable = true;
|
||||||
};
|
};
|
||||||
programs = {
|
|
||||||
chezmoi = {
|
|
||||||
enable = true;
|
|
||||||
apply = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services = {
|
services = {
|
||||||
jellyfin.enable = true;
|
jellyfin.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -50,12 +50,6 @@ in
|
|||||||
python.enable = true;
|
python.enable = true;
|
||||||
tooling.enable = true;
|
tooling.enable = true;
|
||||||
};
|
};
|
||||||
programs = {
|
|
||||||
chezmoi = {
|
|
||||||
enable = true;
|
|
||||||
apply = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
system = {
|
system = {
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
terminal.enable = true;
|
terminal.enable = true;
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
{ config, lib, pkgs, user, home-manager, ... }:
|
|
||||||
|
|
||||||
let cfg = config.modules.programs.chezmoi;
|
|
||||||
in {
|
|
||||||
options.modules.programs.chezmoi = with lib; {
|
|
||||||
enable = lib.mkEnableOption "chezmoi";
|
|
||||||
apply = lib.mkOption {
|
|
||||||
type = with types; bool;
|
|
||||||
default = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
chezmoi # Manages your dotfiles across multiple machines, ensuring consistency and version control
|
|
||||||
];
|
|
||||||
|
|
||||||
# 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" ] ''
|
|
||||||
run ${pkgs.chezmoi}/bin/chezmoi apply --force
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./chezmoi.nix ./kitty.nix ];
|
imports = [ ./kitty.nix ];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user