Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-12-21 16:56:15 -05:00
parent ceeed0c4df
commit 1baff01642
5 changed files with 11 additions and 14 deletions

View File

@ -1,5 +1,5 @@
{ config, lib, pkgs, ... }: {
imports = [ ../users ];
imports = [ ./users ];
boot.cleanTmpDir = true;
boot.kernelModules = [ "wireguard" ];

View File

@ -2,9 +2,7 @@
with lib;
let cfg = config.within.users.mkOthers "Make users other than cadey";
in {
{
users.users.cadey = {
isNormalUser = true;
extraGroups =
@ -29,4 +27,5 @@ in {
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK4mrGB2aTjHkp3r3Q7l8FHgtDPCCDqBUp9DykRWjcMA mara@blink"
];
};
users.users.root.openssh.authorizedKeys.keys = config.users.users.cadey.openssh.authorizedKeys.keys;
}

View File

@ -17,7 +17,7 @@
nixosConfigurations.logos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./hosts/logos ];
modules = [ ./hosts/logos ./hardware/alrest ];
};
deploy.nodes.some-random-system.profiles.system = {

View File

@ -2,11 +2,7 @@
let metadata = pkgs.callPackage ../../../ops/metadata/peers.nix { };
in {
imports = [
./hardware-configuration.nix
./solanum.nix
./zfs.nix
];
imports = [ ./hardware-configuration.nix ./zfs.nix ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@ -33,10 +29,10 @@ in {
services.zfs.autoSnapshot.enable = true;
services.zfs.trim.enable = true;
cadey.cpu = {
enable = true;
vendor = "intel";
};
# cadey.cpu = {
# enable = true;
# vendor = "intel";
# };
security.sudo.wheelNeedsPassword = false;

View File

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{
imports = [ ../../common ];
users.motd = builtins.readFile ./motd;
networking.hostName = "logos";