- OS: NixOS
- WM: Niri
- Shell: Fish with Starship prompt
- Editor: Neovim
- Terminal: Kitty
- Browser: Firefox
- Launcher: Rofi
- Bar: Waybar
- Colorscheme: Gruvbox
This repository contains my desktop and development environment managed using NixOS. It's based on my old Fedora - Sway dotfiles available (but unmaintained) here, but migrated to NixOS for:
- More and newer packages on nixpkgs
- Better reproducibility and ease of setting up
- Per-project isolated development environment
- Easier upgrade and maintenance
Flake-ify your configuration.nix and add the dotfiles as an input:
{
description = "Your NixOS system configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
dotfiles = {
url = "github:ziap/dotfiles";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, dotfiles }: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
dotfiles.nixosModules.userConfig
];
};
};
}Rebuild the system with the included configuration
sudo nixos rebuild switchClone the repository
git clone https://github.com/ziap/dotfiles
cd dotfilesInstall and activate home-manager
nix run . -- switch --flake .This project is licensed under the GPL-3.0 license.
