https://github.com/dxc-0/nix-dotfiles
Fedora Atomic/Immuable dotfiles with Nix and Homemanager
https://github.com/dxc-0/nix-dotfiles
dotfile-management dotfiles dotfiles-linux fedora fedora-atomic fedora-kinoite home-manager home-manager-config immuatable immutability linux nix nix-dotfiles nixpkgs rpm-ostree
Last synced: 9 days ago
JSON representation
Fedora Atomic/Immuable dotfiles with Nix and Homemanager
- Host: GitHub
- URL: https://github.com/dxc-0/nix-dotfiles
- Owner: DXC-0
- Created: 2025-09-11T22:57:27.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-09-23T11:13:16.000Z (19 days ago)
- Last Synced: 2025-09-23T13:09:32.722Z (19 days ago)
- Topics: dotfile-management, dotfiles, dotfiles-linux, fedora, fedora-atomic, fedora-kinoite, home-manager, home-manager-config, immuatable, immutability, linux, nix, nix-dotfiles, nixpkgs, rpm-ostree
- Language: Nix
- Homepage:
- Size: 39.1 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> I manage my dotfiles with [Nix](https://nixos.org/) and [Homemanager](https://github.com/nix-community/home-manager) on the atomic and immutable distribution [Fedora Kinoite](https://fedoraproject.org/atomic-desktops/kinoite/). I use nix packages to avoid flatpak and layering to the base image. Nixpkgs is one of the largest linux package bases, for what is not available I use podman containers. Home-manager control absolutely everything declaratively and even deployment with [rpm-ostree](https://coreos.github.io/rpm-ostree/).
[](https://postimg.cc/3dvn1G2S)
### Preparation
```bash
sudo tee /etc/ostree/prepare-root.conf <<'EOL'
[composefs]
enabled = yes
[root]
transient = true
EOLrpm-ostree initramfs-etc --reboot --track=/etc/ostree/prepare-root.conf
```### Install Nix
```bash
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
sh -s -- install ostree --no-confirm --persistence=/var/lib/nix
```### Add Nix Unstable
```bash
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
nix-channel --update
```### Install Home-Manager
```
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
``````
nix-shell '' -A install
```### Rebuild the configuration
```
git clone https://github.com/DXC-0/Nix-Dotfiles.git
cd Nix-Dotfiles
mkdir -p $HOME/.config/home-manager
mv * $HOME/.config/home-manager
``````
home-manager switch
```