34 lines
916 B
Nix
34 lines
916 B
Nix
|
||
|
||
# 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 = [
|
||
## 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
|
||
./hardware-configuration.nix
|
||
./config
|
||
];
|
||
|
||
system.stateVersion = "24.11";
|
||
|
||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||
}
|