Inline common configuration
This commit is contained in:
parent
1506edcd1a
commit
bd9a9de9fc
4 changed files with 49 additions and 42 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue