fix (nixos)!: remove baremetal option
This commit is contained in:
parent
773ebc511d
commit
d5404e54aa
7 changed files with 35 additions and 48 deletions
47
nixos/common.nix
Normal file
47
nixos/common.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
|
||||
system.autoUpgrade.enable = true;
|
||||
system.autoUpgrade.dates = "weekly";
|
||||
|
||||
nix.gc.automatic = true;
|
||||
nix.gc.dates = "daily";
|
||||
nix.gc.options = "--delete-older-than 10d";
|
||||
nix.settings.auto-optimise-store = true;
|
||||
|
||||
time.timeZone = "Europe/Paris";
|
||||
i18n.defaultLocale = "en_GB.UTF-8";
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "fr_FR.UTF-8";
|
||||
LC_IDENTIFICATION = "fr_FR.UTF-8";
|
||||
LC_MEASUREMENT = "fr_FR.UTF-8";
|
||||
LC_MONETARY = "fr_FR.UTF-8";
|
||||
LC_NAME = "fr_FR.UTF-8";
|
||||
LC_NUMERIC = "fr_FR.UTF-8";
|
||||
LC_PAPER = "fr_FR.UTF-8";
|
||||
LC_TELEPHONE = "fr_FR.UTF-8";
|
||||
LC_TIME = "fr_FR.UTF-8";
|
||||
};
|
||||
|
||||
users.users.hms = {
|
||||
isNormalUser = true;
|
||||
description = "hms";
|
||||
extraGroups = [ "wheel" ];
|
||||
packages = [ ];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
helix
|
||||
wget
|
||||
];
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue