wayland nixos module
This commit is contained in:
parent
d1a08295ed
commit
338fd6e92c
@ -14,7 +14,7 @@ in
|
|||||||
./nova-hardware.nix
|
./nova-hardware.nix
|
||||||
inputs.hosts.nixosModule
|
inputs.hosts.nixosModule
|
||||||
inputs.catppuccin.nixosModules.catppuccin
|
inputs.catppuccin.nixosModules.catppuccin
|
||||||
] ++ (with toplevel.config.flake.nixosModules; [ grub base sound security ivand wireless wireguard style ]);
|
] ++ (with toplevel.config.flake.nixosModules; [ grub base sound wayland security ivand wireless wireguard style ]);
|
||||||
});
|
});
|
||||||
vm = withSystem system (ctx@{ config, inputs', ... }:
|
vm = withSystem system (ctx@{ config, inputs', ... }:
|
||||||
inputs.nixpkgs.lib.nixosSystem {
|
inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
hardware.graphics.enable = true;
|
|
||||||
i18n.supportedLocales = [ "all" ];
|
i18n.supportedLocales = [ "all" ];
|
||||||
time.timeZone = "Europe/Prague";
|
time.timeZone = "Europe/Prague";
|
||||||
fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "FiraCode" ]; }) noto-fonts noto-fonts-emoji noto-fonts-lgc-plus ];
|
fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "FiraCode" ]; }) noto-fonts noto-fonts-emoji noto-fonts-lgc-plus ];
|
||||||
@ -71,6 +70,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
wayland = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
|
||||||
|
hardware.graphics.enable = true;
|
||||||
|
security.pam.services.swaylock = { };
|
||||||
|
});
|
||||||
security = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
|
security = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
|
||||||
security = {
|
security = {
|
||||||
sudo = {
|
sudo = {
|
||||||
@ -91,7 +94,6 @@
|
|||||||
};
|
};
|
||||||
polkit.enable = true;
|
polkit.enable = true;
|
||||||
rtkit.enable = true;
|
rtkit.enable = true;
|
||||||
pam = { services = { swaylock = { }; }; };
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
wireguard = {
|
wireguard = {
|
||||||
|
Loading…
Reference in New Issue
Block a user