First working version of NixOS intall
This commit is contained in:
commit
5ab67429b2
47 changed files with 1801 additions and 0 deletions
5
modules/nixos/doas.nix
Normal file
5
modules/nixos/doas.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ config, ...}:
|
||||
{
|
||||
security.doas.enable = true;
|
||||
security.sudo.enable = false;
|
||||
}
|
13
modules/nixos/neovim.nix
Normal file
13
modules/nixos/neovim.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, ...}:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
];
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
}
|
9
modules/nixos/pipewire.nix
Normal file
9
modules/nixos/pipewire.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ...}:
|
||||
{
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
}
|
7
modules/nixos/steam.nix
Normal file
7
modules/nixos/steam.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
}
|
9
modules/nixos/xdg-portal.nix
Normal file
9
modules/nixos/xdg-portal.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ...}:
|
||||
{
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
# gtk portal needed to make gtk apps happy
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue