mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
chore: init
This commit is contained in:
commit
1b2c1ea359
891 changed files with 37053 additions and 0 deletions
11
modules/nixos/desktop/wayland/default.nix
Executable file
11
modules/nixos/desktop/wayland/default.nix
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
let
|
||||
importList =
|
||||
let
|
||||
content = builtins.readDir ./.;
|
||||
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
|
||||
in
|
||||
map (name: ./. + "/${name}") dirContent;
|
||||
in
|
||||
{
|
||||
imports = importList;
|
||||
}
|
||||
3
modules/nixos/desktop/wayland/geoclue2/default.nix
Executable file
3
modules/nixos/desktop/wayland/geoclue2/default.nix
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.geoclue2.enable = true;
|
||||
}
|
||||
29
modules/nixos/desktop/wayland/greetd/default.nix
Executable file
29
modules/nixos/desktop/wayland/greetd/default.nix
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
config,
|
||||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.people)
|
||||
user0
|
||||
;
|
||||
inherit (flake.config.machines) devices;
|
||||
mars = devices.mars.name;
|
||||
|
||||
host = config.networking.hostName;
|
||||
in
|
||||
{
|
||||
services = {
|
||||
greetd = {
|
||||
enable = true;
|
||||
# vt = 7;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.tuigreet}/bin/tuigreet --time --time-format '%I:%M %p | %a • %h | %F' --theme border=magenta;text=cyan;prompt=green;time=red;action=blue;button=yellow;container=black;input=red --cmd Hyprland";
|
||||
user = if host == mars then "greeter" else user0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
3
modules/nixos/desktop/wayland/network/default.nix
Executable file
3
modules/nixos/desktop/wayland/network/default.nix
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
programs.nm-applet.enable = true;
|
||||
}
|
||||
35
modules/nixos/desktop/wayland/portals/default.nix
Executable file
35
modules/nixos/desktop/wayland/portals/default.nix
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
xdg = {
|
||||
portal = {
|
||||
enable = true;
|
||||
config = {
|
||||
niri = {
|
||||
default = [
|
||||
"wlr"
|
||||
"gtk"
|
||||
"gnome"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
wlr.enable = true;
|
||||
config.common.default = "*";
|
||||
xdgOpenUsePortal = true;
|
||||
extraPortals = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-gnome
|
||||
# xdg-desktop-portal-hyprland
|
||||
xdg-desktop-portal-wlr
|
||||
;
|
||||
inherit (pkgs.kdePackages)
|
||||
xdg-desktop-portal-kde
|
||||
;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
7
modules/nixos/desktop/wayland/regreet/default.nix
Executable file
7
modules/nixos/desktop/wayland/regreet/default.nix
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.regreet = {
|
||||
enable = false;
|
||||
package = pkgs.greetd.regreet;
|
||||
};
|
||||
}
|
||||
3
modules/nixos/desktop/wayland/swaylock/default.nix
Executable file
3
modules/nixos/desktop/wayland/swaylock/default.nix
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
security.pam.services.swaylock.text = "auth include login";
|
||||
}
|
||||
11
modules/nixos/desktop/wayland/thunar/default.nix
Executable file
11
modules/nixos/desktop/wayland/thunar/default.nix
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
pkgs.xfce.thunar-archive-plugin
|
||||
pkgs.xfce.thunar-volman
|
||||
pkgs.xfce.thunar-media-tags-plugin
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue