Modified polybar

This commit is contained in:
marc
2022-11-06 15:35:47 +01:00
parent 0f4b895d38
commit c3dd5dda65
20 changed files with 353 additions and 207 deletions

View File

@@ -10,15 +10,17 @@
networking.hostName = "reykjavik";
samfelag.modules.user = {
name = "marc";
};
# - Bootloader ---------------------------------
boot.loader.systemd-boot.enable = true;
# - Services -----------------------------------
# - Modules ------------------------------------
samfelag.modules = {
user.name = "marc";
bluetooth.enable = true;
};
# - Profiles -----------------------------------
samfelag.profiles = {
desktop = {

View File

@@ -0,0 +1,17 @@
{ config, lib, pkgs, self, ... }:
let
cfg = config.samfelag.modules.bluetooth;
in
{
options.samfelag.modules.bluetooth = {
enable = lib.mkEnableOption "bluetooth";
};
config = lib.mkIf cfg.enable {
hardware.bluetooth.enable = true;
services.blueman.enable = true;
};
}

View File

@@ -2,6 +2,7 @@
{
imports = [
./bluetooth.nix
./tailscale.nix
./user.nix
];

View File

@@ -33,6 +33,7 @@
environment.systemPackages = with pkgs; [
curl
git
htop
pciutils
psmisc
vim