Fix formatting
This commit is contained in:
+15
-9
@@ -1,15 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
../modules/secrets
|
||||
];
|
||||
imports = [
|
||||
../modules/secrets
|
||||
];
|
||||
|
||||
boot.resumeDevice =
|
||||
if config.swapDevices != []
|
||||
then (builtins.head config.swapDevices).device
|
||||
else null;
|
||||
if config.swapDevices != [ ] then (builtins.head config.swapDevices).device else null;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
@@ -44,7 +45,12 @@
|
||||
users.users.me = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [ "wheel" "video" "networkmanager" "input" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"video"
|
||||
"networkmanager"
|
||||
"input"
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMPFh01e9doyInt0980V8T4xaakcSaOyXaxxYE4+oSwM me@syedm # server"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJFUwk54CNtSLUyXSTLsIs5KXgEsjOgE4HGlA4FacKjV me@tardis # msi laptop"
|
||||
|
||||
Reference in New Issue
Block a user