diff --git a/flake.nix b/flake.nix index c2c0f49..02400c6 100644 --- a/flake.nix +++ b/flake.nix @@ -43,6 +43,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + catppuccin = { + url = "github:catppuccin/nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + hyprland.url = "github:hyprwm/Hyprland"; }; diff --git a/hosts/nyx/configuration.nix b/hosts/nyx/configuration.nix index 9f98811..208ade9 100644 --- a/hosts/nyx/configuration.nix +++ b/hosts/nyx/configuration.nix @@ -4,7 +4,7 @@ imports = [ ./hardware-configuration.nix - ../../modules/nixos/games/default.nix + ../../modules/nixos/default.nix inputs.home-manager.nixosModules.default ]; @@ -180,7 +180,6 @@ }; environment.systemPackages = with pkgs; [ - gnome-tweaks # TODO remove btrfs-progs hyprcursor grimblast diff --git a/modules/nixos/catppuccin.nix b/modules/nixos/catppuccin.nix new file mode 100644 index 0000000..e842872 --- /dev/null +++ b/modules/nixos/catppuccin.nix @@ -0,0 +1,9 @@ +{ inputs, ... }: +{ + imports = [ inputs.catppuccin.nixosModules.catppuccin ]; + + config.catppuccin = { + enable = true; + flavor = "mocha"; + }; +} diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix new file mode 100644 index 0000000..cbe9a94 --- /dev/null +++ b/modules/nixos/default.nix @@ -0,0 +1,6 @@ +{ + imports = [ + ./catppuccin.nix + ./games/default.nix + ]; +} diff --git a/modules/nixos/games/default.nix b/modules/nixos/games/default.nix index 62a8c88..dc6b619 100644 --- a/modules/nixos/games/default.nix +++ b/modules/nixos/games/default.nix @@ -5,6 +5,7 @@ prismlauncher osu-lazer-bin obs-studio + davinci-resolve ]; programs = { @@ -16,10 +17,12 @@ gamemode.enable = true; }; - hardware.opentabletdriver.enable = true; - hardware.graphics = { - enable = true; - enable32Bit = true; + hardware = { + amdgpu.opencl.enable = true; # For davinci-resolve + opentabletdriver.enable = true; + graphics = { + enable = true; + enable32Bit = true; + }; }; - -} \ No newline at end of file +}