Add the first working version of maryland

This commit is contained in:
Mary 2024-04-05 19:40:38 +01:00
parent f389245ecd
commit a3743f7de0
No known key found for this signature in database
GPG Key ID: 918CEB263269C7A6
4 changed files with 26 additions and 6 deletions

View File

@ -16,7 +16,7 @@
{ ...}:
{
pio = { pkgs, ... }: {
services.udev.packages = with pkgs; [ platformio-core.udev ];
services.udev.packages = with pkgs; [ platformio-core.udev yubikey-personalization ];
services.udev.extraRules = ''
ACTION=="remove",\
ENV{ID_BUS}=="usb",\

View File

@ -85,7 +85,7 @@ rec {
"networkmanager"
];
hashedPasswordFile = config.age.secrets.user.path;
#hashedPasswordFile = config.age.secrets.user.path;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG3aV2dwnll3KxFR57Oj6Br51c7gJ/pkRa+IkKM6slve lxsameer@lxsameer.com"

View File

@ -122,7 +122,7 @@
gimp
krita
rawtherapee
pinentry-qt
pinentry-curses
];
# basic configuration of git, please change to your own
@ -346,8 +346,8 @@
services.gpg-agent = {
enable = true;
pinentryFlavor = "qt";
enableSshSupport = lib.mkForce false;
pinentryFlavor = "curses";
enableSshSupport = lib.mkForce true;
};

View File

@ -39,7 +39,28 @@ let
boot.blacklistedKernelModules = [ "mt7921e" ];
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
hardware.bluetooth.settings = {
General = {
Enable = "Source,Sink,Media,Socket";
Experimental = true;
};
};
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
systemd.user.services.mpris-proxy = {
description = "Mpris proxy";
after = [ "network.target" "sound.target" ];
wantedBy = [ "default.target" ];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
services.blueman.enable = true;
services.xserver.enable = true;
services.xserver.autorun = lib.mkForce true;
services.xserver.desktopManager.plasma5.enable = true;
@ -83,7 +104,6 @@ let
id = [ "24571716" "24571727" ];
};
};
};
mary = pkgs.callPackage ../users/mary/default.nix {};