added Quark's sound
This commit is contained in:
@@ -92,6 +92,7 @@
|
|||||||
./hosts/generic/users.nix
|
./hosts/generic/users.nix
|
||||||
./hosts/Quark/Quark-hardware.nix
|
./hosts/Quark/Quark-hardware.nix
|
||||||
./hosts/Quark/smb.nix
|
./hosts/Quark/smb.nix
|
||||||
|
./hosts/Quark/sound.nix
|
||||||
./hosts/generic/virtualization.nix
|
./hosts/generic/virtualization.nix
|
||||||
# hm-stable.nixosModules.home-manager {
|
# hm-stable.nixosModules.home-manager {
|
||||||
# home-manager.useUserPackages = true;
|
# home-manager.useUserPackages = true;
|
||||||
|
|||||||
@@ -34,6 +34,18 @@
|
|||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@nix" ];
|
options = [ "subvol=@nix" ];
|
||||||
};
|
};
|
||||||
|
fileSystems."/vol/me" = {
|
||||||
|
device = "/dev/sda1";
|
||||||
|
fsType = "ntfs";
|
||||||
|
};
|
||||||
|
fileSystems."/vol/dad" = {
|
||||||
|
device = "/dev/sda2";
|
||||||
|
fsType = "ntfs";
|
||||||
|
};
|
||||||
|
fileSystems."/vol/mom" = {
|
||||||
|
device = "/dev/sda3";
|
||||||
|
fsType = "ntfs";
|
||||||
|
};
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|||||||
+21
-1
@@ -17,7 +17,7 @@ services.samba = {
|
|||||||
"guest account" = "nobody";
|
"guest account" = "nobody";
|
||||||
"map to guest" = "bad user";
|
"map to guest" = "bad user";
|
||||||
};
|
};
|
||||||
"private" = {
|
"dad" = {
|
||||||
"path" = "/vol/dad";
|
"path" = "/vol/dad";
|
||||||
"browseable" = "yes";
|
"browseable" = "yes";
|
||||||
"read only" = "no";
|
"read only" = "no";
|
||||||
@@ -27,6 +27,26 @@ services.samba = {
|
|||||||
"force user" = "yaroslav";
|
"force user" = "yaroslav";
|
||||||
"force group" = "users";
|
"force group" = "users";
|
||||||
};
|
};
|
||||||
|
"mom" = {
|
||||||
|
"path" = "/vol/mom";
|
||||||
|
"browseable" = "yes";
|
||||||
|
"read only" = "no";
|
||||||
|
"guest ok" = "no";
|
||||||
|
"create mask" = "0644";
|
||||||
|
"directory mask" = "0755";
|
||||||
|
"force user" = "yaroslav";
|
||||||
|
"force group" = "users";
|
||||||
|
};
|
||||||
|
"me" = {
|
||||||
|
"path" = "/vol/me";
|
||||||
|
"browseable" = "yes";
|
||||||
|
"read only" = "no";
|
||||||
|
"guest ok" = "no";
|
||||||
|
"create mask" = "0644";
|
||||||
|
"directory mask" = "0755";
|
||||||
|
"force user" = "yaroslav";
|
||||||
|
"force group" = "users";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user