2024-12-11 19:32:45 -07: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’).
|
|
|
|
|
|
|
|
|
|
{ inputs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [
|
2024-12-15 23:36:16 -07:00
|
|
|
|
## External modules
|
|
|
|
|
|
|
|
|
|
# Better command-not-found
|
|
|
|
|
inputs.nix-index-database.nixosModules.nix-index
|
|
|
|
|
{ programs.nix-index-database.comma.enable = true; }
|
|
|
|
|
|
|
|
|
|
# Home manager
|
|
|
|
|
inputs.home-manager.nixosModules.home-manager
|
|
|
|
|
../../home-manager
|
|
|
|
|
{ meta.home-manager.preset = "cli"; }
|
|
|
|
|
|
|
|
|
|
# VSCode server support
|
|
|
|
|
inputs.vscode-server.nixosModules.default
|
|
|
|
|
|
|
|
|
|
## Normal configuration
|
2024-12-11 19:32:45 -07:00
|
|
|
|
./hardware-configuration.nix
|
2024-12-15 23:36:16 -07:00
|
|
|
|
./config
|
2024-12-11 19:32:45 -07:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
system.stateVersion = "24.11";
|
|
|
|
|
|
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
|
|
|
|
}
|