First working version of NixOS intall
This commit is contained in:
commit
5ab67429b2
47 changed files with 1801 additions and 0 deletions
10
common/flakes.nix
Normal file
10
common/flakes.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
nix = {
|
||||
package = pkgs.nixUnstable;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
6
common/locales.nix
Normal file
6
common/locales.nix
Normal 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
24
common/user.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue