1
Fork 0
dotfiles/.bauke/nix/stardust/configuration.nix

38 lines
876 B
Nix

# The main configuration file.
{ config, pkgs, ... }:
{
imports = [
<musnix>
./hardware-configuration.nix # Created by nixos-generate-config.
./packages.nix
./programs-services.nix
./system.nix
./users.nix
];
musnix.enable = true;
nix = {
settings.experimental-features = [ "flakes" "nix-command" ];
};
nixpkgs = {
config = {
allowUnfree = true;
packageOverrides = pkgs: {
# Add the unstable channel as a separate package set.
unstable = import <nixos-unstable> {
# Pass config through so everything is shared between all channels.
config = config.nixpkgs.config;
};
};
};
};
# Before changing this value read the documentation for this option!
# https://search.nixos.org/options?channel=22.11&show=system.stateVersion
system.stateVersion = "22.11";
}