Fix add programs

This commit is contained in:
Florian RICHER 2023-08-20 00:56:28 +02:00
parent 15e01a456e
commit 29c94165da
4 changed files with 24 additions and 7 deletions

View file

@ -1,7 +1,9 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = []; imports = [
./programs
];
home = { home = {
username = "florian"; username = "florian";

View file

@ -0,0 +1,9 @@
{
config,
pkgs,
...
}: {
imports = [
./git.nix
];
}

12
home/programs/git.nix Normal file
View file

@ -0,0 +1,12 @@
{
pkgs,
...
}: {
home.packages = [];
programs.git = {
enable = true;
userName = "Florian RICHER";
userEmail = "florian.richer@protonmail.com";
};
}

View file

@ -37,12 +37,6 @@
git git
]; ];
programs.git = {
enable = true;
userName = "Florian RICHER";
userEmail = "florian.richer@protonmail.com";
};
users.users.florian = { users.users.florian = {
isNormalUser = true; isNormalUser = true;
description = "florian"; description = "florian";