summaryrefslogtreecommitdiff
path: root/hosts/glados
diff options
context:
space:
mode:
authorseth <[email protected]>2022-12-02 02:12:40 -0500
committerseth <[email protected]>2022-12-02 02:12:40 -0500
commitb673b76f41a1f48c38acb9b67657e097e5b8a61f (patch)
treefe0090a667d419d6a27544c492d1e911eb6541ff /hosts/glados
parentaca5eff381f76bc29f25191efc281ccf50cf0e3e (diff)
now *most* things work :p
Diffstat (limited to 'hosts/glados')
-rw-r--r--hosts/glados/config.nix22
-rw-r--r--hosts/glados/default.nix8
-rw-r--r--hosts/glados/packages.nix10
-rw-r--r--hosts/glados/security.nix17
-rw-r--r--hosts/glados/users.nix27
5 files changed, 0 insertions, 84 deletions
diff --git a/hosts/glados/config.nix b/hosts/glados/config.nix
deleted file mode 100644
index 819a4f4..0000000
--- a/hosts/glados/config.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{ config, pkgs, ...}:
-
-{
- # hardware = {
- # nvidia.package = boot.kernelPackages.nvidiaPackages.stable;
- # xserver = {
- # videoDrivers = [ "nvidia" ];
- # };
- # opengl.enable = true;
- # };
-
- networking.hostName = "glados";
-
- programs = {
- gnupg = {
- agent = {
- enable = true;
- pinentryFlavor = "curses";
- };
- };
- };
-}
diff --git a/hosts/glados/default.nix b/hosts/glados/default.nix
deleted file mode 100644
index 8f9a315..0000000
--- a/hosts/glados/default.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- imports = [
- ./config.nix
- ./packages.nix
- ./security.nix
- ./users.nix
- ];
-}
diff --git a/hosts/glados/packages.nix b/hosts/glados/packages.nix
deleted file mode 100644
index 63de591..0000000
--- a/hosts/glados/packages.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{ confg, pkgs, ... }:
-
-{
- environment.systemPackages = with pkgs; [
- neofetch
- nixos-option
- python310
- vim
- ];
-}
diff --git a/hosts/glados/security.nix b/hosts/glados/security.nix
deleted file mode 100644
index debd6b7..0000000
--- a/hosts/glados/security.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-{ lib, config, ... }:
-
-with builtins; with lib;
-{
- security.sudo = {
- configFile = ''
- Defaults env_reset
- Defaults secure_path = /run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
- Defaults editor = /run/current-system/sw/bin/vim,!env_editor
- '';
- execWheelOnly = true;
- extraRules = [
- { users = [ "root" ]; groups = [ "root" ]; commands = [ "ALL" ]; }
- { users = [ "seth" ]; commands = [ "ALL" ]; }
- ];
- };
-}
diff --git a/hosts/glados/users.nix b/hosts/glados/users.nix
deleted file mode 100644
index e0b04c5..0000000
--- a/hosts/glados/users.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with config; with lib; with pkgs;
-{
- users = {
- defaultUserShell = bash;
- mutableUsers = false;
-
- users = {
-
- root = {
- home = "/root";
- uid = ids.uids.root;
- group = "root";
- initialHashedPassword = mkDefault "!";
- };
-
- seth = {
- extraGroups = [ "wheel" ];
- isNormalUser = true;
- hashedPassword = "idontknowhowtosecurethis";
- shell = fish;
- };
-
- };
- };
-}