added niri flake
This commit is contained in:
parent
b9c0d470c3
commit
36d90ef1a2
10 changed files with 208 additions and 41 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, pkgs, attrs, system, ... }:
|
||||
{ lib, config, pkgs, inputs, system, ... }:
|
||||
lib.mkIf config.desktop.enable {
|
||||
|
||||
environment.systemPackages =
|
||||
|
@ -33,7 +33,7 @@ lib.mkIf config.desktop.enable {
|
|||
])
|
||||
++
|
||||
[
|
||||
attrs.zen.packages.${system}.specific
|
||||
inputs.zen.packages.${system}.specific
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ lib.mkIf config.desktop.autologin.enable {
|
|||
enable = true;
|
||||
settings = rec {
|
||||
initial_session = {
|
||||
command = ''Hyprland'';
|
||||
command = config.desktop.windowManager;
|
||||
user = "willifan";
|
||||
};
|
||||
default_session = initial_session;
|
|
@ -2,9 +2,9 @@
|
|||
{
|
||||
imports = [
|
||||
./applications.nix
|
||||
./autostart.nix
|
||||
./boot.nix
|
||||
./emulation.nix
|
||||
./hyprland.nix
|
||||
./keyboard.nix
|
||||
./nfs-client.nix
|
||||
./nix-ld.nix
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options = {
|
||||
desktop.enable = lib.mkOption {
|
||||
default = false;
|
||||
type = lib.types.bool;
|
||||
desktop = {
|
||||
enable = lib.mkOption {
|
||||
default = false;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
windowManager = lib.mkOption {
|
||||
default = "Hyprland";
|
||||
type = lib.types.str;
|
||||
};
|
||||
};
|
||||
server.enable = lib.mkOption {
|
||||
default = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue