Modified polybar
This commit is contained in:
@@ -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 = {
|
||||
|
||||
17
system/modules/bluetooth.nix
Normal file
17
system/modules/bluetooth.nix
Normal 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;
|
||||
|
||||
};
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./bluetooth.nix
|
||||
./tailscale.nix
|
||||
./user.nix
|
||||
];
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
curl
|
||||
git
|
||||
htop
|
||||
pciutils
|
||||
psmisc
|
||||
vim
|
||||
|
||||
Reference in New Issue
Block a user