1
0
This commit is contained in:
Sense T 2023-09-25 01:11:58 +00:00
parent d998b6b07b
commit 885a782fd4
5 changed files with 5 additions and 9 deletions

View File

@ -1,5 +1,5 @@
# NixOS configurations file. # NixOS configurations file.
{ config, pkgs, lib, ... }: { {
system.stateVersion = "23.05"; system.stateVersion = "23.05";
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.

View File

@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, lib, ... }: { pkgs, pkgs-unstable, ... }:
let let
databases = [ databases = [
"k3s" "k3s"

View File

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { {
time.timeZone = "Asia/Shanghai"; time.timeZone = "Asia/Shanghai";
security.sudo.wheelNeedsPassword = true; security.sudo.wheelNeedsPassword = true;

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { {
users = { users = {
mutableUsers = false; mutableUsers = false;
users = { users = {
@ -7,10 +7,6 @@
description = "Login user"; description = "Login user";
hashedPassword = "$y$j9T$XMNDyrhWt/0Hml8Lp9e/91$PuqtfFbvUUjJgiEE9KNBRziWppEWbAD54j7ydmD0BY8"; hashedPassword = "$y$j9T$XMNDyrhWt/0Hml8Lp9e/91$PuqtfFbvUUjJgiEE9KNBRziWppEWbAD54j7ydmD0BY8";
packages = with pkgs; [
];
extraGroups = [ extraGroups = [
"wheel" "wheel"
]; ];

View File

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { config, lib, modulesPath, ... }:
{ {
imports = [ imports = [