Maybe this
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
settings = import ../settings.nix;
|
||||
in
|
||||
{
|
||||
# Time zone
|
||||
time.timeZone = settings.timezone;
|
||||
time.timeZone = "America/Edmonton";
|
||||
|
||||
# Internationalization properties
|
||||
i18n.defaultLocale = settings.locale;
|
||||
}
|
||||
i18n.defaultLocale = "en_CA.UTF-8";
|
||||
}
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
settings = import ../settings.nix;
|
||||
in
|
||||
{
|
||||
networking.hostName = settings.hostname;
|
||||
networking.hostName = "lavitz";
|
||||
|
||||
networking.networkmanager = {
|
||||
enable = true;
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
settings = import ../settings.nix;
|
||||
in
|
||||
{
|
||||
# Enable unfree globally
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.variables.BROWSER = "librewolf";
|
||||
environment.variables.SSH_AUTH_SOCK = "/home/${settings.username}/.bitwarden-ssh-agent.sock";
|
||||
environment.variables.SSH_AUTH_SOCK = "/home/user/.bitwarden-ssh-agent.sock";
|
||||
|
||||
environment.systemPackages =
|
||||
with pkgs; [
|
||||
@@ -71,9 +68,9 @@ in
|
||||
enable = true;
|
||||
config = {
|
||||
user = {
|
||||
name = "${settings.gitName}";
|
||||
email = "${settings.gitEmail}";
|
||||
signingkey = "${settings.gitKey}";
|
||||
name = "User Name";
|
||||
email = "user@email.com";
|
||||
signingkey = "ssh-ed25519 ...";
|
||||
};
|
||||
gpg.format = "ssh";
|
||||
commit.gpgsign = true;
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
settings = import ../settings.nix;
|
||||
in
|
||||
{
|
||||
users.groups.plugdev.gid = 69420;
|
||||
|
||||
users.users.${settings.username} = {
|
||||
users.users.user = {
|
||||
isNormalUser = true;
|
||||
description = settings.userDescription;
|
||||
extraGroups = settings.userGroups;
|
||||
description = "Atridad";
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" "plugdev" ];
|
||||
};
|
||||
|
||||
# Security
|
||||
|
||||
Reference in New Issue
Block a user