Compare commits
4 Commits
2e8306c281
...
feae94f042
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
feae94f042 | ||
|
|
dc608152f7 | ||
|
|
445e08a771 | ||
|
|
1c9f2b54df |
30
flake.lock
generated
30
flake.lock
generated
@@ -39,11 +39,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742489664,
|
"lastModified": 1743696273,
|
||||||
"narHash": "sha256-fFyOU2/c9rbVbzD4dqf6auEBUx658riCQOHcBhamRYM=",
|
"narHash": "sha256-ZqJYdu1yH5CYg5EzS3JEkoLIM4XskAnsScPPy7ijkJQ=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "devenv",
|
"repo": "devenv",
|
||||||
"rev": "c3f0053b68d618d5496be6b881b664437cf918b1",
|
"rev": "2b42d766fc87f15a5021bf96fd973b9218d0a04b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -178,11 +178,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742508854,
|
"lastModified": 1743717835,
|
||||||
"narHash": "sha256-vQQTIl4+slrcu7ftVKNBql9ngBdY0dcYGujdT7zIVp0=",
|
"narHash": "sha256-LJm6FoIcUoBw3w25ty12/sBfut4zZuNGdN0phYj/ekU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "da0181819479ddc034a3db9a77ed21ea3bcc0668",
|
"rev": "66a6ec65f84255b3defb67ff45af86c844dd451b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -264,11 +264,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733319315,
|
"lastModified": 1743514126,
|
||||||
"narHash": "sha256-cFQBdRmtIZFVjr2P6NkaCOp7dddF93BC0CXBwFZFaN0=",
|
"narHash": "sha256-8zYFAsE4zlmc3MRZVLDBSHYF37posV+TxD6CNXqdxG0=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "nixpkgs-python",
|
"repo": "nixpkgs-python",
|
||||||
"rev": "01263eeb28c09f143d59cd6b0b7c4cc8478efd48",
|
"rev": "40d2237867f219de1c1362e3d067a1673afa5f82",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -295,11 +295,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742288794,
|
"lastModified": 1743583204,
|
||||||
"narHash": "sha256-Txwa5uO+qpQXrNG4eumPSD+hHzzYi/CdaM80M9XRLCo=",
|
"narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b6eaf97c6960d97350c584de1b6dcff03c9daf42",
|
"rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -340,11 +340,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742406979,
|
"lastModified": 1743604509,
|
||||||
"narHash": "sha256-r0aq70/3bmfjTP+JZs4+XV5SgmCtk1BLU4CQPWGtA7o=",
|
"narHash": "sha256-Hf5aYGP3hP+uNbcd4NrEMUAR+1o518uGzoeVyMzzJwo=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "1770be8ad89e41f1ed5a60ce628dd10877cb3609",
|
"rev": "4521de68fba1a36fae8caebce3d6e047179661f7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -115,6 +115,9 @@
|
|||||||
gdbm
|
gdbm
|
||||||
notebook # kinda hacky, but needed so that jupyter notebook has some shared library it needs?
|
notebook # kinda hacky, but needed so that jupyter notebook has some shared library it needs?
|
||||||
]))
|
]))
|
||||||
|
(writeShellScriptBin "docs" "${pkgs.uv}/bin/uv run sphinx-autobuild -E ./docs/ ./docs_build --port 9999")
|
||||||
|
(writeShellScriptBin "ab" "${pkgs.uv}/bin/uv build --wheel --refresh")
|
||||||
|
(writeShellScriptBin "adb" "ab && ${pkgs.docker}/bin/docker build -t acockburn/appdaemon:local-dev .")
|
||||||
# (writeShellScriptBin "ad-nb" "cd $(readlink -f /etc/nixos) && devenv up")
|
# (writeShellScriptBin "ad-nb" "cd $(readlink -f /etc/nixos) && devenv up")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -18,10 +18,12 @@
|
|||||||
home.stateVersion = systemSettings.stateVersion;
|
home.stateVersion = systemSettings.stateVersion;
|
||||||
home.homeDirectory = lib.mkForce "${userSettings.adHome}";
|
home.homeDirectory = lib.mkForce "${userSettings.adHome}";
|
||||||
systemd.user.startServices = "sd-switch"; # helps with handling systemd services when switching
|
systemd.user.startServices = "sd-switch"; # helps with handling systemd services when switching
|
||||||
imports = [ (import ./git.nix {inherit userSettings;}) ];
|
imports = [
|
||||||
|
(import ./git.nix {inherit userSettings;})
|
||||||
|
(import ./zsh.nix {inherit userSettings;})
|
||||||
|
];
|
||||||
programs = {
|
programs = {
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
bash.enable = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
23
home-manager/zsh.nix
Normal file
23
home-manager/zsh.nix
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
# https://github.com/ohmyzsh/ohmyzsh/wiki/themes
|
||||||
|
# theme = "robbyrussell";
|
||||||
|
# theme = "simple";
|
||||||
|
theme = "risto";
|
||||||
|
plugins = [
|
||||||
|
"sudo"
|
||||||
|
"dotenv"
|
||||||
|
"git"
|
||||||
|
"ssh"
|
||||||
|
"ssh-agent"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
shellAliases = {
|
||||||
|
ls = "eza -l";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -38,6 +38,7 @@
|
|||||||
"dist"
|
"dist"
|
||||||
"__pycache__"
|
"__pycache__"
|
||||||
"*.egg-info"
|
"*.egg-info"
|
||||||
|
"namespaces"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user