summaryrefslogtreecommitdiff
path: root/hosts/glados-wsl/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2022-12-02 07:47:40 +0000
committerseth <[email protected]>2022-12-02 07:47:40 +0000
commit3222355811768b7c84e13017a51cf53f7969cb4e (patch)
tree30e4f14cbffe3badb45caf24de979d0b0ab4e432 /hosts/glados-wsl/default.nix
parentb673b76f41a1f48c38acb9b67657e097e5b8a61f (diff)
small refractor
Diffstat (limited to 'hosts/glados-wsl/default.nix')
-rw-r--r--hosts/glados-wsl/default.nix53
1 files changed, 37 insertions, 16 deletions
diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix
index 2846100..b7efacd 100644
--- a/hosts/glados-wsl/default.nix
+++ b/hosts/glados-wsl/default.nix
@@ -1,19 +1,40 @@
-{ config, modulesPath, pkgs, ...}:
-
{
- imports = [
- (modulesPath + "/profiles/minimal.nix")
- ./config.nix
- ./packages.nix
- ../../users/seth
- ];
+ config,
+ modulesPath,
+ pkgs,
+ ...
+}: {
+ imports = [
+ (modulesPath + "/profiles/minimal.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";
+
+ # hardware = {
+ # nvidia.package = boot.kernelPackages.nvidiaPackages.stable;
+ # xserver = {
+ # videoDrivers = [ "nvidia" ];
+ # };
+ # opengl.enable = true;
+ # };
+
+ networking.hostName = "glados-wsl";
- # 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";
+ programs = {
+ gnupg = {
+ agent = {
+ enable = true;
+ pinentryFlavor = "curses";
+ };
+ };
+ };
}