Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ran committed Jul 27, 2023
2 parents 5577937 + e3691b7 commit fca740c
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 29 deletions.
32 changes: 16 additions & 16 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ in
desktop = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit pkgs old-nixpkgs home-manager hyprland hyprland-contrib user system;
inherit pkgs old-nixpkgs home-manager hyprland-contrib user system;
host = {
name = "desktop";
fristMonitor = "DP-1";
secondMonitor = "HDMI-A-1";
};
};
modules = [
hyprland.nixosModules.default
./configuration.nix
./desktop

Expand All @@ -35,7 +34,6 @@ in
};
home-manager.users.${user} = {
imports = [
hyprland.homeManagerModules.default
./home.nix
desktop/home.nix
];
Expand All @@ -47,7 +45,7 @@ in
work = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit pkgs old-nixpkgs home-manager hyprland hyprland-contrib user system;
inherit pkgs old-nixpkgs home-manager hyprland-contrib user system;
host = {
name = "work";
fristMonitor = "DVI-I-1";
Expand All @@ -56,7 +54,6 @@ in
};
};
modules = [
hyprland.nixosModules.default
./configuration.nix
./work

Expand All @@ -75,7 +72,6 @@ in
};
home-manager.users.${user} = {
imports = [
hyprland.homeManagerModules.default
./home.nix
work/home.nix
];
Expand Down
2 changes: 1 addition & 1 deletion hosts/desktop/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, pkgs, home-manager, hyprland, user, host, ... }:
{ lib, pkgs, home-manager, user, host, ... }:

{
imports =
Expand Down
2 changes: 1 addition & 1 deletion hosts/desktop/home.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, hyprland, ... }:
{ pkgs, ... }:

{
imports =
Expand Down
2 changes: 1 addition & 1 deletion hosts/work/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, pkgs, home-manager, hyprland, user, host, ... }:
{ lib, pkgs, home-manager, user, host, ... }:

{
imports =
Expand Down
2 changes: 1 addition & 1 deletion hosts/work/home.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, hyprland, ... }:
{ pkgs, ... }:

{
imports =
Expand Down
5 changes: 2 additions & 3 deletions modules/hyprland.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, home-manager, hyprland, hyprland-contrib, user, host, ... }:
{ pkgs, home-manager, hyprland-contrib, user, host, ... }:

let
catppuccinHyprland = pkgs.fetchFromGitHub {
Expand Down Expand Up @@ -43,9 +43,8 @@ in
home.file.".config/hypr/catppuccin.conf".source = "${catppuccinHyprland}/themes/mocha.conf";
wayland.windowManager.hyprland = {
enable = true;
nvidiaPatches = true;
enableNvidiaPatches = true;
systemdIntegration = true;
recommendedEnvironment = true;

extraConfig = ''
${monitors}
Expand Down

0 comments on commit fca740c

Please sign in to comment.