modules: system: printing: move from 'profiles'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This isn't really a cross-cutting module, it should be a module rather than a profile.
This commit is contained in:
parent
32ec402ad0
commit
27564cad42
|
@ -15,6 +15,7 @@
|
|||
./secrets
|
||||
./services.nix
|
||||
./sound.nix
|
||||
./system.nix
|
||||
];
|
||||
|
||||
# Set your time zone.
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
gtk.enable = true;
|
||||
# Laptop specific configuration
|
||||
laptop.enable = true;
|
||||
# Printers are hell, but so is the unability to print
|
||||
printing.enable = true;
|
||||
# i3 configuration
|
||||
wm.windowManager = "i3";
|
||||
# X configuration
|
||||
|
|
10
hosts/nixos/aramis/system.nix
Normal file
10
hosts/nixos/aramis/system.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Core system configuration
|
||||
{ ... }:
|
||||
{
|
||||
my.system = {
|
||||
# Printers are hell, but so is the unability to print
|
||||
printing = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
./nix
|
||||
./packages
|
||||
./podman
|
||||
./printing
|
||||
./users
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.printing;
|
||||
cfg = config.my.system.printing;
|
||||
in
|
||||
{
|
||||
options.my.profiles.printing = with lib; {
|
||||
enable = mkEnableOption "printing profile";
|
||||
options.my.system.printing = with lib; {
|
||||
enable = mkEnableOption "printing configuration";
|
||||
|
||||
papersize = mkOption {
|
||||
type = with types; either str (enum [
|
|
@ -6,7 +6,6 @@
|
|||
./devices
|
||||
./gtk
|
||||
./laptop
|
||||
./printing
|
||||
./wm
|
||||
./x
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue