stable place
This commit is contained in:
1 parent
f1613955f7
commit
5632f1fbe5
10 files changed
+214
-153
No files matched your search
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, config
|
||||
, ...
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.skyg.nixos.common.hardware.pipewire;
|
||||
@@ -18,6 +19,7 @@ in
|
||||
wireplumber.enable = true;
|
||||
pulse.enable = true;
|
||||
systemWide = false;
|
||||
socketActivation = true;
|
||||
};
|
||||
services.jack = {
|
||||
alsa.enable = true;
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.skyg.nixos;
|
||||
in
|
||||
@@ -17,8 +22,7 @@ in
|
||||
|
||||
options = {
|
||||
skyg.nixos.desktop = {
|
||||
enable = lib.mkEnableOption
|
||||
"Enable Desktop";
|
||||
enable = lib.mkEnableOption "Enable Desktop";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.desktop.enable {
|
||||
@@ -37,9 +41,6 @@ in
|
||||
terminal-exec.enable = true;
|
||||
portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.kdePackages.xdg-desktop-portal-kde
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.skyg.nixos.desktop.tiler.hyprland;
|
||||
# hypr-plugin-dir = pkgs.symlinkJoin {
|
||||
@@ -13,8 +18,7 @@ in
|
||||
{
|
||||
options = {
|
||||
skyg.nixos.desktop.tiler.hyprland = {
|
||||
enable = lib.mkEnableOption
|
||||
"hyprland";
|
||||
enable = lib.mkEnableOption "hyprland";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
@@ -25,19 +29,19 @@ in
|
||||
xwayland.enable = true;
|
||||
};
|
||||
programs.uwsm.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
hyprls
|
||||
];
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# hyprls
|
||||
# ];
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [ xdg-desktop-portal-hyprland ];
|
||||
};
|
||||
home-manager.users."${config.skyg.user.name}".wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
plugins = with pkgs; [
|
||||
hyprlandPlugins.hyprexpo
|
||||
hyprlandPlugins.hyprbars
|
||||
];
|
||||
};
|
||||
# home-manager.users."${config.skyg.user.name}".wayland.windowManager.hyprland = {
|
||||
# enable = true;
|
||||
# plugins = with pkgs; [
|
||||
# hyprlandPlugins.hyprexpo
|
||||
# hyprlandPlugins.hyprbars
|
||||
# ];
|
||||
# };
|
||||
};
|
||||
}
|
||||
@@ -1,16 +1,20 @@
|
||||
{ config, lib, pkgs, skygUtils, system, nixpkgs-unstable, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
skygUtils,
|
||||
system,
|
||||
nixpkgs-unstable,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.skyg.nixos.desktop.tiler.niri;
|
||||
# unstable = import nixpkgs-unstable {
|
||||
# inherit system;
|
||||
# config.allowUnfree = true;
|
||||
# };
|
||||
unstable = nixpkgs-unstable.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
options = {
|
||||
skyg.nixos.desktop.tiler.niri = {
|
||||
enable = lib.mkEnableOption
|
||||
"niri";
|
||||
enable = lib.mkEnableOption "niri";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
@@ -30,6 +34,13 @@ in
|
||||
filePath = "niri";
|
||||
configSource = "/home/${config.skyg.user.name}/nixos-setup/configs";
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-gnome
|
||||
gnome-keyring
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user