Inline common configuration

This commit is contained in:
Nettika 2024-07-11 21:53:03 -07:00
parent 1506edcd1a
commit bd9a9de9fc
4 changed files with 49 additions and 42 deletions

View file

@ -1,10 +1,32 @@
{ pkgs, ... }:
{ pkgs, inputs, ... }:
{
imports = [
./backup.nix
./hardware-configuration.nix
inputs.nixos-hardware.nixosModules.asus-rog-strix-g513im
];
networking = {
hostName = "marauder";
networkmanager.enable = true;
};
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
users.users = {
nettika = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
};
};
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [
# Chat clients
discord