nix-dotfiles/configuration.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

2023-11-19 19:31:04 -08:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
nix.package = pkgs.nixUnstable;
imports =
[
# Hardware Settings (hardware scan)
./hardware-configuration.nix
# System essentials (boot, lang, hostname, ...)
./modules/system
./modules/user
./modules/themeing
./modules/audio/pipewire
./modules/shell/fish # This enables fish as the default shell
./modules/network/browsers/librewolf
./modules/network/networking
./modules/network/syncthing
./modules/network/bluetooth
./modules/login/greetd
# ./modules/graphics/nvidia
];
nixpkgs.config.allowUnfree = true;
nix.settings = {
substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
experimental-features = [ "nix-command" "flakes" ];
};
system.stateVersion = "23.05";
}