sisyphus/nixos/modules/default.nix

59 lines
1 KiB
Nix
Raw Normal View History

2023-04-04 12:08:13 +02:00
{ inputs, lib, config, pkgs, ... }:
{
imports = [
./apps
./shells
./utils
];
# Nix Flakes
nix.package = pkgs.nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
keep-outputs = true
keep-derivations = true
'';
users.users.tdpeuter = {
description = "Tibo De Peuter";
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" ];
initialPassword = "ChangeMe";
packages = with pkgs; [
home-manager
2023-04-04 12:08:13 +02:00
];
};
2023-04-04 12:08:13 +02:00
home-manager.useGlobalPkgs = true;
2023-04-04 12:08:13 +02:00
home-manager.users.tdpeuter = { pkgs, ... }: {
home = {
username = "tdpeuter";
homeDirectory = "/home/tdpeuter";
2023-06-17 10:01:00 +02:00
stateVersion = "23.05";
packages = with pkgs; [
gnupg
2023-04-04 12:08:13 +02:00
# Fonts
corefonts # Calibri for Uni
];
};
programs = {
home-manager.enable = true;
gpg.enable = true;
};
services = {
gpg-agent = {
enable = true;
pinentryFlavor = "qt";
};
2023-04-04 12:08:13 +02:00
};
};
2023-04-04 12:08:13 +02:00
}