https://github.com/rodesp/dotfiles
https://github.com/rodesp/dotfiles
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rodesp/dotfiles
- Owner: RodEsp
- Created: 2024-11-13T04:35:52.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-02-15T19:41:34.000Z (3 months ago)
- Last Synced: 2025-02-15T20:26:13.317Z (3 months ago)
- Language: CSS
- Size: 26.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
Any folders containing a `./config` subfolder are managed with [`stow`](https://www.gnu.org/software/stow/manual/stow.html) ([guide](https://gist.github.com/andreibosco/cb8506780d0942a712fc)).
They are added this way so that you can individually choose which packages' configuration to symlink using `stow ` from the root of this repo.The `nixos/` folder contains my NixOS configuration, save for the `/etc/nixos/configuration.nix` and `/etc/nixos/hardware-configuration.nix` files.
My `/etc/nixos/configuration.nix` file:
```nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{
config,
pkgs,
options,
...
}: let
hostname = "rodesp-fw13";
in {
networking.hostName = hostname;imports = [
/etc/nixos/hardware-configuration.nix
(/home/rodesp/dotfiles/nixos + "/${hostname}.nix")
];
}
```To modify and rebuild NixOS I use the [`nixos/nixos-rebuild.sh`](./nixos/nixos-rebuild.sh) script.