Fix some stuff i broke in the refactor
This commit is contained in:
parent
44be4f3ffd
commit
882ed7fad7
2 changed files with 20 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
||||||
../modules/desktop.nix
|
../modules/desktop.nix
|
||||||
../modules/brother-printer.nix
|
../modules/brother-printer.nix
|
||||||
../modules/home.nix
|
../modules/home.nix
|
||||||
|
../modules/sway.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
|
||||||
19
hosts/modules/sway.nix
Normal file
19
hosts/modules/sway.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
# Enable the Sway binary and hardware wrappers
|
||||||
|
programs.sway = {
|
||||||
|
enable = true;
|
||||||
|
wrapperFeatures.gtk = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Hardware and security services that must be system-wide
|
||||||
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
security.polkit.enable = true;
|
||||||
|
programs.light.enable = true; # Allow brightness control
|
||||||
|
|
||||||
|
# Move system-wide packages here
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
pavucontrol
|
||||||
|
light
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue