🧹 restructure layout
This commit is contained in:
parent
40c2a5fb29
commit
268374ad58
115 changed files with 2641 additions and 2085 deletions
|
|
@ -1,39 +1,15 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
{ config
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
./agenix.nix
|
||||
./dunst.nix
|
||||
./gpg.nix
|
||||
./kdeconnect.nix
|
||||
./keyring.nix
|
||||
./openconnect.nix
|
||||
./openvpn.nix
|
||||
./picom.nix
|
||||
./openconnect.nix
|
||||
./printing.nix
|
||||
./redshift.nix
|
||||
];
|
||||
|
||||
services = {
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = with pkgs;
|
||||
[ stable.epson-escpr2 ]; # HACK to fix broken upstream package
|
||||
};
|
||||
avahi = lib.mkIf config.services.printing.enable {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
};
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
redshift.enable = true;
|
||||
btrfs.autoScrub.enable = lib.mkDefault
|
||||
(builtins.any (filesystem: filesystem.fsType == "btrfs")
|
||||
(builtins.attrValues config.fileSystems));
|
||||
};
|
||||
location = {
|
||||
latitude = 52.3;
|
||||
longitude = 12.4;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue