This commit is contained in:
parent
390bdaaf51
commit
5c52b2a8a2
@ -43,6 +43,7 @@
|
||||
|
||||
custom.users.jake.password = true;
|
||||
security.sudo.wheelNeedsPassword = lib.mkForce true;
|
||||
custom.desktop.sway.enable = true;
|
||||
|
||||
# Networking
|
||||
networking = {
|
||||
|
@ -6,7 +6,7 @@
|
||||
./ca/default.nix
|
||||
./chia.nix
|
||||
./defaults.nix
|
||||
./desktop/awesome/default.nix
|
||||
./desktop/default.nix
|
||||
./dns.nix
|
||||
./home/default.nix
|
||||
./hostinfo.nix
|
||||
|
8
modules/desktop/default.nix
Normal file
8
modules/desktop/default.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./awesome/default.nix
|
||||
./sway/default.nix
|
||||
];
|
||||
}
|
13
modules/desktop/sway/default.nix
Normal file
13
modules/desktop/sway/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.custom.desktop.sway;
|
||||
in
|
||||
{
|
||||
options.custom.desktop.sway = {
|
||||
enable = lib.mkEnableOption "sway";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user