feat: move users and base packages to common.nix
This commit is contained in:
parent
3b810aebc0
commit
0c28afc6c5
2 changed files with 19 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
|
@ -18,4 +18,22 @@
|
|||
LC_TELEPHONE = "en_GB.UTF-8";
|
||||
LC_TIME = "en_GB.UTF-8";
|
||||
};
|
||||
|
||||
users.users.irl = {
|
||||
isNormalUser = true;
|
||||
description = "irl";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
curl
|
||||
home-manager
|
||||
neovim
|
||||
wget
|
||||
];
|
||||
}
|
||||
|
|
|
@ -32,24 +32,6 @@
|
|||
pulse.enable = true;
|
||||
};
|
||||
|
||||
users.users.irl = {
|
||||
isNormalUser = true;
|
||||
description = "irl";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
curl
|
||||
home-manager
|
||||
neovim
|
||||
wget
|
||||
];
|
||||
|
||||
hardware.gpgSmartcards.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue