make * composable; add install medium; archive prevoius code
This commit is contained in:
parent
5ab3bfc58c
commit
93b1488bd9
74 changed files with 955 additions and 1132 deletions
10
_archive/nixos-configuration/common/pkg/neovim.nix
Normal file
10
_archive/nixos-configuration/common/pkg/neovim.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config
|
||||
, pkgs
|
||||
, ... } @ args:
|
||||
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.xsel
|
||||
(import ../../../pkg-configuration/vim-derivates/neovim.nix args)
|
||||
];
|
||||
}
|
9
_archive/nixos-configuration/common/pkg/vim.nix
Normal file
9
_archive/nixos-configuration/common/pkg/vim.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs
|
||||
, ... } @ args:
|
||||
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.xsel
|
||||
(import ../../../pkg-configuration/vim-derivates/vim.nix (args // { name = "vim"; }))
|
||||
];
|
||||
}
|
20
_archive/nixos-configuration/common/user/steveej.nix
Normal file
20
_archive/nixos-configuration/common/user/steveej.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config
|
||||
, pkgs
|
||||
, ... }:
|
||||
|
||||
let
|
||||
passwords = import ../passwords.crypt.nix;
|
||||
keys = import ../keys.nix;
|
||||
inherit (import ../lib) mkUser;
|
||||
in {
|
||||
users.mutableUsers = false;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
|
||||
users.extraUsers.steveej = mkUser {
|
||||
uid = 1000;
|
||||
hashedPassword = passwords.users.steveej;
|
||||
};
|
||||
|
||||
security.pam.enableU2F = true;
|
||||
security.pam.services.steveej.u2fAuth = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue