Commit graph

16 commits

Author SHA1 Message Date
e3b1539b41
refactor(flake)!: deduplicate code in configurations flake module
Pass around `perSystem`'s `pkgs` instances to the system configurations
Some more refactoring in `configurations`' `mkHost` functions
Also start using `home-manager`'s `useGlobalPkgs` option
Also use `mkShellNoCC` for default `devShell`
Also `nix flake update`
2024-07-20 14:30:25 +03:00
b3390f3565
chore(cheetah)!: use monitored nix & fix nvim
New `neovim-nightly` overlay provides `neovim` instead of `neovim-nightly`
2024-06-10 01:32:00 +03:00
6e713090c3
chore!: spring cleaning
Make `nix-darwin` follow flake's version `nixpkgs`
`neovim-nighlty-overlay` - `.overlay` -> `.overlays.default`
`nixVersions` - `stable` -> `latest`
Check `${SHLVL}` before reloading `nix-daemon.sh` (shadows `nix shell`s)
`fetchFromGitHub` - `sha256` -> `hash`
Create `-monitored` packages only for valid `nixVersions`
2024-05-26 12:46:52 +03:00
ccb43c8a0a
feat(cheetah): fix pinentry && remove rnix-lsp 2024-04-13 13:39:45 +03:00
36e14ad3f6
style: format with nix fmt
Currently uses `nixpkgs-fmt`
2024-01-25 17:39:43 +02:00
9bac61ee0a
fix(cheetah): set pass' ${PASSWORD_STORE_DIR} 2024-01-08 00:53:44 +02:00
02f7fe0cf5
fix(cheetah)!: nixpkgs.overlays && gpg
Fix `gpg` as `ssh` setup (also add `openssh` to `home.packages`)
Remove `j` (breaking, cannot build)
2023-12-26 14:31:37 +02:00
7df97750b7
fix(cheetah)!: hostname propagation
`hostname` parameter clashes with the `hostname` package
Hardcode (for now) `hostname` value
2023-07-26 10:30:02 +03:00
20e7547b0c
fix(shell)!: accept a hostname parameter
Pass along device `hostname` into `home-manager` (and more) configs
Used for the `rebuild` command since `nix-on-droid` uses the `default` system instead of the `$(hostname)` one (because that requires root to change on-device)
2023-07-26 09:48:01 +03:00
bc81e59950
feat(flake)!: common home-manager settings
Automatically add the flake's overlays to `home-manager`'s `nixpkgs.overlays`
Split up `reo101-shell`
Upgdate `cheetah` to `23.05`
Some formatting
2023-07-26 08:44:02 +03:00
5ab4359d2d
feat(cheetah): override starship username 2023-02-19 12:53:25 +02:00
8701878171
feat(cheetah): refactor and update
Include common `homeManagerModules`
Load `home-manager` config automatically
Disable some packages to save space
Name `reovim` an `outOfStoreSymlink`
2023-02-17 03:21:03 +02:00
df9ce2d4e2
feat!(flake): update homix
Update flake (`neovim-nightly-overlay` is fixed)
Format all `.nix` files
Unify package/module argument order:
    - `inputs`, `outputs`, `lib`, `pkgs`, `config`, ...
Move Jellyfin config to a `NixOS` module (first one, yay)
Add `direnv` to `reo101-shell` modules (was used, but not defined as wanted)
    - TODO: make it optional (module config options)
2023-02-13 00:33:57 +02:00
86809b8963 fix(cheetah): export $SHELL
Is (somehow) not set by setting `user.shell = "${pkgs.zsh}/bin/zsh";`
2023-02-07 04:34:33 +02:00
897c101328 feat(nix-on-droid & home-manager): update to 22.11 2022-12-04 21:58:32 +02:00
dd2391d905 feat!(flake): convert to fs-defined configurations
Place all configurations in `machines/${manager}/${system}/${hostname}/...`:
    - `${manager}` - One of `nixos`, `nix-on-droid`, `nix-darwin` or `home-manager`
    - `${system}` - A system's architecture (can be many)
    - `${hostname}` - A system's hostname (can be many)

The flake now automatically generates the needed configurations based on the above structure.

It only generates configurations for valid directory structures:
    - It wouldn't generate a NixOS config if there isn't a `configuration.nix` file
    - ...
2022-11-27 02:12:21 +02:00
Renamed from nix-on-droid/cheetah/home.nix (Browse further)