hosts: starting to add config for dnsc-machine
This commit is contained in:
parent
77b44f7f3c
commit
c1b775dbc5
4 changed files with 30 additions and 1 deletions
|
|
@ -19,6 +19,8 @@
|
|||
just
|
||||
mmv-go
|
||||
zoxide
|
||||
swaybg
|
||||
xwayland-satellite
|
||||
];
|
||||
|
||||
imports = [
|
||||
|
|
|
|||
|
|
@ -37,6 +37,12 @@
|
|||
|
||||
services.xserver.xkb = {
|
||||
layout = "eu";
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
|
||||
# Nvidia
|
||||
hardware = {
|
||||
# TODO Add from wiki
|
||||
};
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
|
|
@ -95,8 +101,9 @@
|
|||
# Tailscale
|
||||
services.tailscale.enable = true;
|
||||
|
||||
# Environment variables
|
||||
# Environment & session variables
|
||||
environment.variables.EDITOR = "nvim";
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
|
|
|||
3
modules/wm/ly/default.nix
Normal file
3
modules/wm/ly/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.displayManager.ly.enable = true;
|
||||
}
|
||||
17
modules/wm/niri/default.nix
Normal file
17
modules/wm/niri/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
programs.niri.enable = true;
|
||||
|
||||
# Source niri config
|
||||
xdg.configFile."niri/config.kdl".source = ./config.kdl;
|
||||
|
||||
# Additional setup
|
||||
security.polkit-gnome.enable = true;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
# WM Utilities (split out if they need additional config)
|
||||
programs.fuzzel.enable = true;
|
||||
programs.swaylock.enable = true;
|
||||
programs.swayidle.enable = true;
|
||||
programs.mako.enable = true;
|
||||
programs.waybar.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue