Signed-off-by: elwrcl <[email protected]>
This commit is contained in:
elwrcl committed 2026-04-19 17:25:38 +03:00
1 parent 3faaad274e
commit 00ead502e6
4 files changed
+9 -34

No files matched your search

+2 -3
View File
@@ -36,12 +36,11 @@
}:
let
system = "x86_64-linux";
compositor = "niri";
in
{
nixosConfigurations = {
copland = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system compositor; };
specialArgs = { inherit inputs system; };
modules = [
{ nixpkgs.hostPlatform = system; }
@@ -58,7 +57,7 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs system compositor; };
extraSpecialArgs = { inherit inputs system; };
users.elars = import ./home;
};
}
+4 -2
View File
@@ -2,12 +2,14 @@
pkgs,
inputs,
system,
compositor,
...
}:
{
imports = [ (if compositor == "niri" then ./niri.nix else ./hyprland.nix) ];
imports = [
./hyprland.nix
./niri.nix
];
home.username = "elars";
home.homeDirectory = "/home/elars";
@@ -3,5 +3,6 @@
{
imports = [
./hyprland.nix
./niri.nix
];
}
+2 -29
View File
@@ -4,13 +4,8 @@
programs.niri.enable = true;
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
];
config.niri = lib.mkForce {
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
config.niri = {
default = [
"gnome"
"gtk"
@@ -18,26 +13,4 @@
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
};
};
services = {
dbus.enable = true;
pipewire = {
enable = true;
pulse.enable = true;
wireplumber.enable = true;
};
gnome = {
gnome-keyring.enable = true;
gnome-settings-daemon.enable = lib.mkDefault false;
};
};
security.polkit.enable = true;
environment.systemPackages = with pkgs; [
glib
dconf
dconf-editor
xdg-utils
xdg-user-dirs
];
}