Nix configurations for my personal machines (Linux & macOS)

temp niri stuff to work with later

ovyerus.com 7e8d08f9 2ac7d5e0

verified
Changed files
+53 -26
home
nixos
+1 -1
home/desktop/apps.nix
···
alejandra
audacity
# betterbird
-
bitwarden-desktop
+
# bitwarden-desktop
blender
bottles
bruno
+9 -1
home/desktop/default.nix
···
inputs,
...
}: {
-
imports = [./apps.nix ./xdg.nix ../common/cli.nix ../common/git.nix ../common/nixpkgs.nix ../common/shell];
+
imports = [
+
./apps.nix
+
# ./niri.nix
+
./xdg.nix
+
../common/cli.nix
+
../common/git.nix
+
../common/nixpkgs.nix
+
../common/shell
+
];
home.sessionVariables.DOCKER_HOST = "unix:///run/user/1000/podman/podman.sock";
+5 -4
home/desktop/niri.nix
···
pkgs,
...
}: {
+
# programs.niri.enable = true;
programs.niri.package = pkgs.niri;
programs.niri.settings = {
···
prefer-no-csd = true;
spawn-at-startup = [
-
{command = ["xwayland-satellite" ":1"];}
-
{command = ["hyprpaper"];}
-
{command = ["alacritty"];}
+
{command = ["xwayland-satellite" ":420"];}
+
# {command = ["hyprpaper"];}
+
{command = ["kitty"];}
];
environment = {
-
DISPLAY = ":1";
+
DISPLAY = ":420";
GDK_BACKEND = "wayland";
};
+7 -20
nixos/wallsocket/configuration.nix
···
imports = [
./bluetooth.nix
./graphics.nix
+
# ./niri.nix
./hardware-configuration.nix
../../modules/nixpkgs.nix
];
···
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
-
services.xserver.enable = true;
+
# services.xserver.enable = true;
# Enable the KDE Plasma Desktop Environment.
services.displayManager.enable = true;
···
services.displayManager.defaultSession = "plasma"; # Set to `plasma` for Wayland.
services.desktopManager.plasma6.enable = true;
-
# programs.niri = {
-
# enable = true;
-
# package = pkgs.niri;
-
# };
-
-
# services.greetd = {
-
# enable = true;
-
# settings = {
-
# default_session = {
-
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd niri-session -r --window-padding 4";
-
# user = "greeter";
-
# };
-
# };
-
# };
-
# Configure keymap in X11
services.xserver = {
xkb.layout = "us";
···
environment.sessionVariables."MOZ_ENABLE_WAYLAND" = 0;
environment.systemPackages = with pkgs; [
+
amdgpu_top
docker-compose
ffmpeg_6-full
git
···
fonts = {
packages = [
-
pkgs.ubuntu_font_family
-
pkgs.inter
-
inputs.iosevka-solai.packages.x86_64-linux.bin
-
];
+
pkgs.ubuntu_font_family
+
pkgs.inter
+
inputs.iosevka-solai.packages.x86_64-linux.bin
+
];
fontDir.enable = true;
enableDefaultPackages = true;
+31
nixos/wallsocket/niri.nix
···
+
{pkgs, ...}: {
+
# TODO: do i need this?
+
# security.pam.services.<WHAT>.kwallet.enable = true;
+
+
programs.niri = {
+
enable = true;
+
package = pkgs.niri;
+
};
+
+
# TODO: qtgreet? https://gitlab.com/marcusbritanicus/QtGreet
+
# services.greetd = {
+
# enable = true;
+
# settings = {
+
# default_session = {
+
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd niri-session -r --window-padding 4";
+
# user = "greeter";
+
# };
+
# };
+
# };
+
+
environment.systemPackages = with pkgs; [
+
wl-clipboard
+
wofi
+
swaylock
+
# swaynotificationcenter
+
fuzzel
+
xwayland-satellite
+
kdePackages.kwallet
+
kdePackages.kwalletmanager
+
];
+
}