Compare commits
2
Commits
021ca1ba83
...
f22e8cb1d5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f22e8cb1d5 | ||
|
|
bb06b848be |
@@ -0,0 +1,19 @@
|
||||
{ self, inputs, ... }: {
|
||||
flake.modules.nixos.audio = { config, pkgs, lib, ... }: {
|
||||
# Enable sound with pipewire.
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true; # PulseAudio server uses this to acquire realtime priority.
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
# media-session.enable = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,9 @@
|
||||
home.packages = with pkgs; [
|
||||
mangohud
|
||||
sublime4
|
||||
proton-vpn
|
||||
joplin-desktop
|
||||
discord
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{ self, inputs, ... }: {
|
||||
flake.modules.nixos.base = { config, pkgs, lib, ... }: {
|
||||
imports = [
|
||||
self.modules.nixos.audio
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nixpkgs.config = {
|
||||
permittedInsecurePackages = [ "openssl-1.1.1w" ];
|
||||
|
||||
@@ -44,6 +44,8 @@
|
||||
services.libinput.enable = true; # Enable touchpad support (enabled default in most desktopManager).
|
||||
services.fprintd.enable = true; # Enables fingerprint sensor
|
||||
|
||||
|
||||
|
||||
home-manager.users.root = {
|
||||
imports = with inputs.self.modules.homeManager; [
|
||||
rebuild
|
||||
@@ -59,12 +61,6 @@
|
||||
my-vscode.enable = true;
|
||||
mysops.hostSecretFile = "${flakeDir}/modules/hosts/john-p14s/secrets.yaml";
|
||||
homeManagerFlakeDir = "${flakeDir}";
|
||||
home.packages = with pkgs; [
|
||||
bash
|
||||
discord
|
||||
proton-vpn
|
||||
joplin-desktop
|
||||
];
|
||||
ssh.certificates.enable = true;
|
||||
ssh.matchSets = {
|
||||
appdaemon = true;
|
||||
|
||||
Reference in New Issue
Block a user