mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
refactor: remove unnecessary system specialArg
This commit is contained in:
parent
b1201b90cb
commit
dd5715083a
3 changed files with 4 additions and 7 deletions
|
@ -85,7 +85,6 @@
|
|||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
modules = [
|
||||
./hosts/demeter
|
||||
|
@ -95,7 +94,6 @@
|
|||
callisto = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
system = "aarch64-linux";
|
||||
};
|
||||
modules = [
|
||||
./hosts/callisto
|
||||
|
@ -104,7 +102,6 @@
|
|||
adrastea = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
modules = [
|
||||
./hosts/adrastea
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
inputs,
|
||||
system,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
wayland.windowManager.hyprland.settings.monitor = ["DP-1,2560x1440@165,1920x0,auto" "HDMI-A-1,1920x1080@60,0x0,1"];
|
||||
wayland.windowManager.hyprland.package = inputs.stablepkgs.legacyPackages.${system}.hyprland;
|
||||
wayland.windowManager.hyprland.package = inputs.stablepkgs.legacyPackages.${pkgs.system}.hyprland;
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
inputs,
|
||||
system,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = [
|
||||
inputs.personal-neovim.packages.${system}.default
|
||||
inputs.personal-neovim.packages.${pkgs.system}.default
|
||||
];
|
||||
|
||||
security.sudo.enable = false;
|
||||
|
|
Loading…
Reference in a new issue