This repository contains my personal NixOS configuration files. It's a highly customized setup tailored for my specific needs and preferences.
This NixOS configuration sets up a system with:
- COSMIC desktop environment
- Gaming support (Steam, GameMode)
- Hardware-specific optimizations for AMD CPUs and GPUs
- Custom packages and overlays
flake.nix
: The entry point for the Nix configurationhosts/
: Contains host-specific configurationsmodules/
: Modular NixOS configurationsdesktop/
: Desktop environment settingsdevelopment/
: Development tools and settingsgaming/
: Gaming-related configurationshardware/
: Hardware-specific settingsnetworking/
: Network configurationsservices/
: Various system servicessystem/
: Core system configurationsusers/
: User-specific settings
home/
: Home-manager configurationspkgs/
: Custom package definitions
- Install NixOS on your system.
- Clone this repository:
git clone https://github.com/kcalvelli/nixos.git
- Create entries for your hosts in the
hosts/
directory with your specific hardware configuration. - Create entries in
modules/users/
with your specific user information. - Run
sudo nixos-rebuild switch --flake .#yourhostname
to apply the configuration.
To customize this configuration for your own use:
- Update the hardware-specific modules in
modules/hardware/
to match your system. - Modify the user settings in
modules/users/
andhome/
to fit your preferences. - Adjust the list of installed packages in various module files to suit your needs.
- Update the
flake.nix
file to point to your preferred input sources and add any additional inputs you might need.
- COSMIC desktop environment setup
- AMD CPU and GPU optimizations
- Custom overlay for packages like Brave Browser Nightly and Valent
- Extensive use of Home Manager for user-specific configurations
- Gaming optimizations including Steam and GameMode
Add nixos to your flake.nix
:
{
inputs.nixos.url = "https://flakehub.com/f/kcalvelli/nixos/*.tar.gz";
outputs = { self, nixos }: {
# Use in your outputs
};
}
This configuration is highly personalized and will not work out-of-the-box on your system. Use it as a reference or starting point for your own NixOS configuration.
This project is licensed under the MIT License - see the LICENSE file for details.