From b673b76f41a1f48c38acb9b67657e097e5b8a61f Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 2 Dec 2022 02:12:40 -0500 Subject: now *most* things work :p --- hosts/glados-wsl/config.nix | 22 ++++++++++++++++++++++ hosts/glados-wsl/default.nix | 19 +++++++++++++++++++ hosts/glados-wsl/packages.nix | 11 +++++++++++ 3 files changed, 52 insertions(+) create mode 100644 hosts/glados-wsl/config.nix create mode 100644 hosts/glados-wsl/default.nix create mode 100644 hosts/glados-wsl/packages.nix (limited to 'hosts/glados-wsl') diff --git a/hosts/glados-wsl/config.nix b/hosts/glados-wsl/config.nix new file mode 100644 index 0000000..7a649af --- /dev/null +++ b/hosts/glados-wsl/config.nix @@ -0,0 +1,22 @@ +{ config, pkgs, ...}: + +{ + # hardware = { + # nvidia.package = boot.kernelPackages.nvidiaPackages.stable; + # xserver = { + # videoDrivers = [ "nvidia" ]; + # }; + # opengl.enable = true; + # }; + + networking.hostName = "glados-wsl"; + + programs = { + gnupg = { + agent = { + enable = true; + pinentryFlavor = "curses"; + }; + }; + }; +} diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix new file mode 100644 index 0000000..2846100 --- /dev/null +++ b/hosts/glados-wsl/default.nix @@ -0,0 +1,19 @@ +{ config, modulesPath, pkgs, ...}: + +{ + imports = [ + (modulesPath + "/profiles/minimal.nix") + ./config.nix + ./packages.nix + ../../users/seth + ]; + + # enable non-free packages + nixpkgs.config.allowUnfree = true; + + # Enable nix flakes + nix.package = pkgs.nixFlakes; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + + system.stateVersion = "22.11"; +} diff --git a/hosts/glados-wsl/packages.nix b/hosts/glados-wsl/packages.nix new file mode 100644 index 0000000..bfca6df --- /dev/null +++ b/hosts/glados-wsl/packages.nix @@ -0,0 +1,11 @@ +{ confg, pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + git + neofetch + nixos-option + python310 + vim + ]; +} -- cgit v1.2.3