my nixos system configuration
Find a file
2024-10-09 15:44:35 +02:00
home home/terminal/programs/git: enable automatically setting up remotes 2024-10-09 15:44:35 +02:00
hosts hosts: set wallpaper at system level 2024-10-08 22:58:29 +02:00
lib home/programs/niri: add xwayland-satellite, update layout settings, add colors 2024-10-08 13:33:25 +02:00
modules repo: switch catppuccin flavor to macchiato 2024-10-08 22:58:03 +02:00
system system/services/regreet: use theme module 2024-10-08 22:58:18 +02:00
wallpapers add different wallpapers for desktop and laptop 2024-08-27 18:23:43 +02:00
.gitmodules set tpm as external 2024-08-09 22:31:54 +02:00
flake.lock flake: update versions 2024-10-07 19:00:18 +02:00
flake.nix repo: implement niri, a wayland window manager 2024-10-07 18:51:10 +02:00
LICENSE add nix dotfiles 2024-08-25 21:58:12 +02:00
README.md fix lsp format command in neovim (<leader>lf) 2024-08-25 22:24:50 +02:00
treefmt.nix repo: add treefmt, remove nixvim 2024-09-26 13:41:04 +02:00

My NixOS Flake

This repository contains my personal NixOS configurations for two machines: my laptop (vamos) and my desktop computer (solaire). These configurations are managed using the Nix Flake system to ensure reproducibility and ease of deployment.

Structure

  • flake.nix: The main entry point for the Nix flake.
  • hosts/: Directory containing the specific configurations for each host (vamos and solaire).
  • modules/: Reusable NixOS modules shared between different configurations.
  • home/: Userspace configuration, divided between laptop and desktop.

Hosts

Vamos (Laptop)

This is the configuration for my laptop, vamos. It uses Gnome, and includes settings optimized for power management, and lightweight applications.

Solaire (Desktop)

This is the configuration for my desktop computer, solaire. It also uses Gnome, and adds Nvidia drivers.

Usage

Applying the Configuration

To apply the configuration on a machine, use the following steps:

  1. Clone this repository:
git clone https://github.com/nezia1/dotfiles.git .dotfiles
cd .dotfiles 
  1. Switch to the desired configuration:

    sudo nixos-rebuild switch --flake .#<hostname>
    

    Replace <hostname> with either vamos or solaire depending on the machine you are configuring.

Example

For the laptop (vamos):

sudo nixos-rebuild switch --flake .#vamos

For the desktop (solaire):

sudo nixos-rebuild switch --flake .#solaire

License

This repository is licensed under the MIT License. See the LICENSE file for details.