Skip to content

This repository contains my personal NixOS configuration, managed with Nix Flakes.

Notifications You must be signed in to change notification settings

zerokaze420/nixos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

210 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS Configuration

NixOS

This repository contains my personal NixOS configuration, managed with Nix Flakes.

Folder Structure

  • flake.nix: The entry point for the NixOS configuration.
  • hosts: Contains the NixOS configuration for each host.
    • desktop: The configuration for my desktop.
    • laptop: The configuration for my laptop.
  • modules: Contains the NixOS modules that are shared across hosts.
  • home.nix: The entry point for my home-manager configuration.
  • homeModules: Contains the home-manager modules that are shared across users.

How to Use

To apply the configuration to a host, run the following command:

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

For example, to apply the configuration to my laptop, I would run:

sudo nixos-rebuild switch --flake .#laptop

To apply the configuration to my server, I would run:

sudo nixos-rebuild switch --flake .#server --impure

Tree

.
├── config
│   └── niri
│       ├── config.kdl
│       └── dms
│           ├── binds.kdl
│           ├── colors.kdl
│           └── layout.kdl
├── flake.lock
├── flake.nix
├── homeModules
│   ├── desktop
│   │   └── kitty.nix
│   ├── git.nix
│   ├── shell
│   │   ├── fish.nix
│   │   └── starship.nix
│   └── vscode.nix
├── home.nix
├── hosts
│   ├── desktop
│   │   ├── configuration.nix
│   │   └── hardware-configuration.nix
│   └── laptop
│       ├── configuration.nix
│       └── hardware-configuration.nix
├── Modules
│   ├── nh.nix
│   ├── nvf.nix
│   ├── services
│   │   ├── dae.nix
│   │   └── ssh.nix
│   └── user
│       └── tux.nix
└── README.md

About

This repository contains my personal NixOS configuration, managed with Nix Flakes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages