First working version of NixOS intall

This commit is contained in:
Yorick Barbanneau 2023-07-23 01:18:29 +02:00
commit 5ab67429b2
47 changed files with 1801 additions and 0 deletions

10
common/flakes.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
}

6
common/locales.nix Normal file
View file

@ -0,0 +1,6 @@
{ config, ... }:
{
time.timeZone = "Europe/Paris";
# English locale with YYY/MM/DD date format
i18n.defaultLocale = "en_DK.UTF-8";
}

24
common/user.nix Normal file
View file

@ -0,0 +1,24 @@
{ config, pkgs, ... }:
{
# Services
services.pcscd.enable = true;
# Programs
programs.ssh.startAgent = true;
programs.zsh.enable = true;
# programs.dconf.enable = true;
# Configs
fonts.fontconfig.enable = true;
users.users.ephase = {
shell = pkgs.zsh;
isNormalUser = true;
extraGroups = [ "video" "wheel" ];
home = "/home/ephase";
packages = with pkgs; [
remmina
gcc
];
};
}