diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-02-29 22:11:06 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-02-29 22:11:06 +0530 |
| commit | f7be27cccc42f3491f978171a557d3c8db8fe82a (patch) | |
| tree | 5a847e091249fd51e7c287b23342f2261df22639 | |
| parent | 743478f373a66f7b050030948824d722d6b2cc67 (diff) | |
update
| -rw-r--r-- | machines/x/configuration.nix | 8 | ||||
| -rw-r--r-- | machines/x/home.nix | 8 | ||||
| -rw-r--r-- | 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 ]; } |
