populated configuration

This commit is contained in:
2024-08-13 14:49:24 +09:00
parent f295d29525
commit 603379ca7b
17 changed files with 278 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
{ ... }:
{
hardware.pulseaudio.enable = true;
}

View File

@@ -0,0 +1,5 @@
{ ... }:
{
hardware.bluetooth.enable = true;
services.blueman.enable = true;
}

View File

@@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages_xanmod_stable;
boot.consoleLogLevel = 3;
}

View File

@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
hardware.opengl.enable = true;
hardware.opengl.extraPackages = with pkgs; [
mesa
];
}

4
system/hardware/time.nix Normal file
View File

@@ -0,0 +1,4 @@
{ ... }:
{
services.timesyncd.enable = true;
}

4
system/services/cups.nix Normal file
View File

@@ -0,0 +1,4 @@
{...}:
{
services.printing.enable = true;
}

View File

@@ -0,0 +1,4 @@
{ ... }:
{
networking.networkmanager.enable = true;
}

9
system/services/ssh.nix Normal file
View File

@@ -0,0 +1,9 @@
{...}:
{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
};
};
}

13
system/utils.nix Normal file
View File

@@ -0,0 +1,13 @@
{ lib, pkgs, ... }:
{
# minimal utilities for using linux
environment.systemPackages = with pkgs; [
vim
wget
htop
mc
git
parted
tree
];
}