dotfiles/system-nix/configuration.nix

32 lines
657 B
Nix
Raw Normal View History

2022-08-30 14:29:44 +00:00
{ lib, pkgs, config, modulesPath, ... }:
with lib;
{
imports = [
/etc/nixos/hardware-configuration.nix
2022-08-30 14:29:44 +00:00
"${modulesPath}/profiles/minimal.nix"
];
2022-11-06 10:45:45 +00:00
system.stateVersion = "22.05";
2022-08-30 14:29:44 +00:00
# users.users.<defaultUser>.uid = 1000;
2022-11-06 20:23:10 +00:00
# networking.hostName = "nixos";
2022-08-30 14:29:44 +00:00
# Enable nix flakes
nix.package = pkgs.nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
2022-11-06 20:23:10 +00:00
# Some basic programs
2022-08-30 14:29:44 +00:00
programs.neovim = {
enable = true;
defaultEditor = true;
};
programs.git = {
enable = true;
# more information should be configured under user level
};
environment.systemPackages = [
pkgs.gnumake
];
}