more buldak configuration

This commit is contained in:
chloe 2025-09-27 04:09:32 +02:00
parent 43733e4a4a
commit 9d41a6fa81
4 changed files with 94 additions and 14 deletions

View file

@ -2,23 +2,30 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }: {
config,
pkgs,
inputs,
...
}:
{ {
imports = imports = [
[ # Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./features/default.nix
../../shared/client/tailscale.nix ../../shared/client/tailscale.nix
../../shared/client/niri.nix ../../shared/client/niri.nix
../../shared/client/nh.nix ../../shared/client/nh.nix
../../shared
./features
]; ];
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.luks.devices."luks-d265e9b2-2ef5-445a-83f2-ec022e0eec7b".device = "/dev/disk/by-uuid/d265e9b2-2ef5-445a-83f2-ec022e0eec7b"; boot.initrd.luks.devices."luks-d265e9b2-2ef5-445a-83f2-ec022e0eec7b".device =
"/dev/disk/by-uuid/d265e9b2-2ef5-445a-83f2-ec022e0eec7b";
networking.hostName = "buldak"; # Define your hostname. networking.hostName = "buldak"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -56,12 +63,24 @@
# Configure console keymap # Configure console keymap
console.keyMap = "fr"; console.keyMap = "fr";
programs.zsh.enable = true;
environment.pathsToLink = [ "/share/zsh" ];
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.misschloe777 = { users.users.misschloe777 = {
isNormalUser = true; isNormalUser = true;
description = "misschloe777"; description = "misschloe777";
extraGroups = [ "networkmanager" "wheel" ]; shell = pkgs.zsh;
packages = with pkgs; []; extraGroups = [
"networkmanager"
"wheel"
"audio"
"video"
"podman"
];
packages = with pkgs; [
inputs.zen-browser.packages."${system}".default
];
}; };
# Allow unfree packages # Allow unfree packages
@ -74,6 +93,10 @@
# wget # wget
]; ];
nixpkgs.config.permittedInsecurePackages = [
"libsoup-2.74.3"
];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;

View file

@ -0,0 +1,5 @@
{
imports = [
./discord.nix
];
}

View file

@ -0,0 +1,31 @@
{
config,
pkgs,
inputs,
...
}:
let
moonlight-client = pkgs.discord.override {
withMoonlight = true;
};
in
{
environment.systemPackages = with pkgs; [
moonlight-client
inputs.moonlight.packages.${pkgs.system}.moonlight
vesktop
];
# screen record support
xdg = {
autostart.enable = true;
icons.enable = true;
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
wlr.enable = true;
};
};
}

View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
zathura
bitwarden
nil
obs-studio
osu-lazer-bin
];
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
};
}