Evie Litherland-Smith
e170c2c50e
Abstract switch calling mechanic, add proper returncode checking
...
Catch different failure modes of subprocess.run
Add default versions of NIXOS_CONFIGURATION and
HOME_MANAGER_CONFIGURATION to compare to env vars, assume
configuration is a flake if different and append "--flake" argument to
process commands
2024-06-06 06:12:57 +01:00
Evie Litherland-Smith
ddee47ce40
Refactor to clean up python files
...
Combine unnecessary amount of python files into single main.py
Add default.nix for building without Flakes enabled
Adjust flake.nix to use poetry2nix callPackage for both default and
shell, to be more consistent
2024-06-02 06:52:28 +01:00
Evie Litherland-Smith
6772fdbc2c
Check for nixos-rebuild command triggers notification if not found
...
Add source argument to default notification title
2024-05-27 08:36:42 +01:00
Evie Litherland-Smith
0396bdb66a
Move nix shell to separate shell.nix
...
Update README for nix shell instructions, refile long lines
2024-05-27 08:34:36 +01:00
Evie Litherland-Smith
bd0f546401
Higher resolution version of nix-snowflake.png
2024-05-27 07:37:09 +01:00
Evie Litherland-Smith
9695e10eab
Add .dir-locals.el for Emacs
2024-05-27 07:33:42 +01:00
Evie Litherland-Smith
2ff588b1e5
Add some structure files
...
Add initial files nixos.py and home-manager.py
2024-05-26 11:00:14 +01:00
Evie Litherland-Smith
c477ec58a9
Rename main.py -> cli.py and add poetry pre-commit hooks
...
Add apps section to flake.nix output to explicitly define CLI output
path
2024-05-26 10:52:54 +01:00
Evie Litherland-Smith
b48d53fa2a
Add README content, add example/demo script
...
Fix setting license in pyproject.toml correctly
Point to main script in pyproject to run CLI
2024-05-26 10:35:21 +01:00
Evie Litherland-Smith
04399569d8
Add dev packages, pre-commit hooks
2024-05-26 10:06:30 +01:00
Evie Litherland-Smith
b6f861c3e3
Update poetry.lock, add LICENSE file
2024-05-26 09:48:31 +01:00
Evie Litherland-Smith
25ef2ab8f7
Initial commit: Add project structure and boilerplate
2024-05-26 09:26:55 +01:00