alejandra

This commit is contained in:
Tristan 2024-01-05 18:48:13 +00:00
parent 7cbdcdcd87
commit 4d0ee4459a
12 changed files with 331 additions and 341 deletions

View file

@ -18,10 +18,11 @@
} @ inputs: let
system = "x86_64-linux";
mkConf = import ./lib/mkconf.nix;
pkgs = import nixpkgs {inherit system;};
user = "tristan";
userName = "Tristan Beedell";
in {
formatter.${system} = pkgs.alejandra;
nixosConfigurations = {
zenix = mkConf "zenix" {
inherit inputs nixpkgs system user userName home-manager;

View file

@ -341,5 +341,4 @@ in {
};
programs.direnv.enable = true;
}

View file

@ -179,5 +179,4 @@ user: {
services.prometheus.exporters.node.enable = true;
networking.networkmanager.insertNameservers = ["1.1.1.1" "1.0.0.1"];
}

View file

@ -120,7 +120,5 @@
};
wallpaper = ../images/nix-soft.png;
};
};
}

View file

@ -15,7 +15,6 @@ nixpkgs.lib.nixosSystem {
inherit system;
modules = [
inputs.stylix.nixosModules.stylix
({pkgs, ...}: {
stylix.image = ../images/demonslayer.png;

View file

@ -12,5 +12,8 @@ in {
type = lib.types.oneOf ["hyprland" "sway"];
};
config = if opt == "hyprland" then (import ../programs/hyprland.nix {inherit user;} {inherit lib pkgs;}) else {};
config =
if opt == "hyprland"
then (import ../programs/hyprland.nix {inherit user;} {inherit lib pkgs;})
else {};
}

View file

@ -167,10 +167,7 @@
enable = true;
};
programs.waybar.settings.mainBar.modules-left =
["hyprland/workspaces" "hyprland/window"];
programs.waybar.settings.mainBar.modules-left = ["hyprland/workspaces" "hyprland/window"];
}
];
}

View file

@ -1,5 +1,4 @@
{pkgs, ...}: {
services.swayidle = {
enable = true;
systemdTarget = "graphical-session.target";
@ -24,5 +23,4 @@
}
];
};
}

View file

@ -1,5 +1,4 @@
{pkgs, ...}: {
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;

View file

@ -44,7 +44,4 @@
target = "graphical-session.target";
};
};
}