From f7be27cccc42f3491f978171a557d3c8db8fe82a Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Thu, 29 Feb 2024 22:11:06 +0530 Subject: update --- machines/x/configuration.nix | 8 +------- machines/x/home.nix | 8 +++++--- modules/nvidia.nix | 2 +- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/machines/x/configuration.nix b/machines/x/configuration.nix index bd0a385..aa77704 100644 --- a/machines/x/configuration.nix +++ b/machines/x/configuration.nix @@ -1,8 +1,6 @@ { lib, inputs, pkgs, ... }: -let - tlauncher = (pkgs.callPackage ../../packages/tlauncher.nix {}); -in { +{ imports = [ ./hardware-configuration.nix inputs.home-manager.nixosModules.default @@ -35,10 +33,6 @@ in { networking.hostName = "x"; - environment.systemPackages = [tlauncher]; - - virtualisation.lxd.enable = true; - home-manager.users.compromyse = import ./home.nix; programs.steam.enable = true; } diff --git a/machines/x/home.nix b/machines/x/home.nix index bddd06c..77769ea 100644 --- a/machines/x/home.nix +++ b/machines/x/home.nix @@ -1,6 +1,8 @@ { pkgs, ... }: -{ +let + tlauncher = (pkgs.callPackage ../../packages/tlauncher.nix {}); +in { nixpkgs.config.allowUnfree = true; home = { @@ -8,7 +10,7 @@ homeDirectory = "/home/compromyse"; }; - home.packages = with pkgs; [ + home.packages =with pkgs; [ wget tmux @@ -40,7 +42,7 @@ rubocop nodePackages.pyright git-lfs - ]; + ] ++ [ tlauncher ]; imports = (map (path: ../../config/${path}) [ # "themes.nix" diff --git a/modules/nvidia.nix b/modules/nvidia.nix index 1d59539..c72317f 100644 --- a/modules/nvidia.nix +++ b/modules/nvidia.nix @@ -23,5 +23,5 @@ }; }; - # environment.systemPackages = [ pkgs.cudatoolkit ]; + environment.systemPackages = [ pkgs.cudatoolkit ]; } -- cgit v1.2.3