nix fmt with "nixfmt-rfc-style"
This commit is contained in:
parent
4a39b2cbfd
commit
eb9f742b1e
26 changed files with 460 additions and 267 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.mainUser;
|
||||
in
|
||||
|
|
@ -37,14 +42,22 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
users.users.${cfg.userName} = {
|
||||
description = cfg.description;
|
||||
extraGroups = [ "users" "wheel" ];
|
||||
extraGroups = [
|
||||
"users"
|
||||
"wheel"
|
||||
];
|
||||
initialHashedPassword = cfg.hashedPassword;
|
||||
isNormalUser = true;
|
||||
isSystemUser = false;
|
||||
shell = pkgs.zsh;
|
||||
uid = 1000;
|
||||
|
||||
packages = with pkgs; lib.mkIf cfg.flatpak [ flatpak gnome.gnome-software ];
|
||||
packages =
|
||||
with pkgs;
|
||||
lib.mkIf cfg.flatpak [
|
||||
flatpak
|
||||
gnome.gnome-software
|
||||
];
|
||||
};
|
||||
|
||||
console.keyMap = "it";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue