refactor: move all common settings into its own file
This commit is contained in:
parent
bcffebd32b
commit
7c0f8e4f79
2 changed files with 15 additions and 13 deletions
14
systems/modules/common.nix
Normal file
14
systems/modules/common.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{pkgs, ...}: {
|
||||
users.users.rafiq = {
|
||||
isNormalUser = true;
|
||||
description = "rafiq";
|
||||
extraGroups = ["networkmanager" "wheel"];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue