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

38 lines
876 B
Nix
Raw Normal View History

2023-02-01 13:31:56 +00:00
# The main configuration file.
2023-05-28 14:02:51 +00:00
{ config, pkgs, ... }:
2023-02-01 13:31:56 +00:00
{
imports = [
2024-02-20 16:56:38 +00:00
<musnix>
./hardware-configuration.nix # Created by nixos-generate-config.
2023-02-01 13:31:56 +00:00
./packages.nix
./programs-services.nix
./system.nix
2023-02-02 11:00:11 +00:00
./users.nix
2023-02-01 13:31:56 +00:00
];
2024-02-20 16:56:38 +00:00
musnix.enable = true;
2023-02-01 13:31:56 +00:00
nix = {
settings.experimental-features = [ "flakes" "nix-command" ];
};
nixpkgs = {
2023-05-28 14:02:51 +00:00
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;
};
};
};
2023-02-01 13:31:56 +00:00
};
# 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";
}