first
This commit is contained in:
50
niri.nix
Normal file
50
niri.nix
Normal file
@@ -0,0 +1,50 @@
|
||||
{ config, pkgs, lib, niri, dankMaterialShell, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
niri.homeModules.niri
|
||||
dankMaterialShell.homeModules.dankMaterialShell.default
|
||||
dankMaterialShell.homeModules.dankMaterialShell.niri
|
||||
];
|
||||
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
settings = {
|
||||
input.mod-key = "Alt";
|
||||
outputs."Defualt" = {
|
||||
#mode = "1920x1080";
|
||||
scale = 1;
|
||||
};
|
||||
environment."NIXOS_OZONE_WL" = "1";
|
||||
environment."WLR_DRM_DEVICES" = "/dev/dri/card1-Virtual-1";
|
||||
};
|
||||
};
|
||||
|
||||
programs.dankMaterialShell = {
|
||||
enable = true;
|
||||
niri = {
|
||||
enableKeybinds = true;
|
||||
enableSpawn = true;
|
||||
};
|
||||
systemd = {
|
||||
enable = true;
|
||||
restartIfChanged = true;
|
||||
};
|
||||
};
|
||||
|
||||
home.username = "bangae1";
|
||||
home.homeDirectory = "/home/bangae1";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
home.packages = [
|
||||
pkgs.alacritty
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_SESSION_DESKTOP = "niri";
|
||||
};
|
||||
|
||||
programs.zsh.enable = false;
|
||||
programs.fish.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user