alejandra
This commit is contained in:
parent
7cbdcdcd87
commit
4d0ee4459a
12 changed files with 331 additions and 341 deletions
|
|
@ -18,10 +18,11 @@
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
mkConf = import ./lib/mkconf.nix;
|
mkConf = import ./lib/mkconf.nix;
|
||||||
|
pkgs = import nixpkgs {inherit system;};
|
||||||
user = "tristan";
|
user = "tristan";
|
||||||
userName = "Tristan Beedell";
|
userName = "Tristan Beedell";
|
||||||
in {
|
in {
|
||||||
|
formatter.${system} = pkgs.alejandra;
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
zenix = mkConf "zenix" {
|
zenix = mkConf "zenix" {
|
||||||
inherit inputs nixpkgs system user userName home-manager;
|
inherit inputs nixpkgs system user userName home-manager;
|
||||||
|
|
|
||||||
|
|
@ -341,5 +341,4 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -179,5 +179,4 @@ user: {
|
||||||
services.prometheus.exporters.node.enable = true;
|
services.prometheus.exporters.node.enable = true;
|
||||||
|
|
||||||
networking.networkmanager.insertNameservers = ["1.1.1.1" "1.0.0.1"];
|
networking.networkmanager.insertNameservers = ["1.1.1.1" "1.0.0.1"];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,5 @@
|
||||||
};
|
};
|
||||||
wallpaper = ../images/nix-soft.png;
|
wallpaper = ../images/nix-soft.png;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
({pkgs, ...}: {
|
({pkgs, ...}: {
|
||||||
stylix.image = ../images/demonslayer.png;
|
stylix.image = ../images/demonslayer.png;
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,8 @@ in {
|
||||||
type = lib.types.oneOf ["hyprland" "sway"];
|
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 {};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -167,10 +167,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.waybar.settings.mainBar.modules-left =
|
programs.waybar.settings.mainBar.modules-left = ["hyprland/workspaces" "hyprland/window"];
|
||||||
["hyprland/workspaces" "hyprland/window"];
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
|
|
||||||
services.swayidle = {
|
services.swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemdTarget = "graphical-session.target";
|
systemdTarget = "graphical-session.target";
|
||||||
|
|
@ -24,5 +23,4 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
|
|
||||||
programs.swaylock = {
|
programs.swaylock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.swaylock-effects;
|
package = pkgs.swaylock-effects;
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,4 @@
|
||||||
target = "graphical-session.target";
|
target = "graphical-session.target";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue