tidying in core/
This commit is contained in:
parent
6b02c9ebfd
commit
bb4c184ffb
8 changed files with 92 additions and 168 deletions
|
|
@ -3,10 +3,7 @@
|
|||
## https://github.com/musnix/musnix
|
||||
## https://nixos.wiki/wiki/Audio_production
|
||||
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
## Can't remember what this does,
|
||||
## recommended to be enabled though
|
||||
|
|
@ -15,10 +12,13 @@
|
|||
## Not using pulse directly
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
||||
## Musnix for audio production
|
||||
musnix.enable = true;
|
||||
|
||||
## Using pipewire baybee
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
## Uncomment if ypu(g.) want to use JACK applications
|
||||
## Uncomment if you(g.) want to use JACK applications
|
||||
#jack.enable = true;
|
||||
pulse.enable = true;
|
||||
alsa = {
|
||||
|
|
@ -63,10 +63,4 @@
|
|||
|
||||
};
|
||||
|
||||
musnix = {
|
||||
|
||||
enable = true;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{
|
||||
|
||||
imports = [
|
||||
imports = [
|
||||
|
||||
## Semi-modularised config
|
||||
./jellyfin.nix # unfinished
|
||||
|
|
@ -10,6 +10,7 @@ imports = [
|
|||
./misc.nix # stuff that doesn't work in home-manager :(
|
||||
./display.nix # declarations for display management
|
||||
./gaming.nix # for gaming stuff, ideally would be in home/
|
||||
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,8 +70,6 @@
|
|||
};
|
||||
systemPackages = with pkgs; [
|
||||
xorg.xhost
|
||||
#dconf # redundant, adding for completeness
|
||||
dconf-editor # For editing dconf settings graphically
|
||||
#qt5.wayland
|
||||
#xdg-utils
|
||||
#xdg-desktop-portal
|
||||
|
|
|
|||
|
|
@ -2,12 +2,6 @@
|
|||
|
||||
{
|
||||
|
||||
imports = [
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
};
|
||||
|
||||
hardware = {
|
||||
|
||||
opentabletdriver = {
|
||||
|
|
@ -32,11 +26,8 @@
|
|||
};
|
||||
|
||||
environment = {
|
||||
## All common gaming packages declared here
|
||||
systemPackages = with pkgs; [
|
||||
#steam # games storefront/launcher
|
||||
piper # mouse configuration
|
||||
];
|
||||
## Mouse config
|
||||
systemPackages = with pkgs; [ piper ];
|
||||
## These are important apparently :uh:
|
||||
sessionVariables = {
|
||||
XDG_CACHE_HOME = "$HOME/.cache";
|
||||
|
|
@ -50,11 +41,10 @@
|
|||
SDL_VIDEODRIVER = "wayland";
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
programs = {
|
||||
## Java for some reason
|
||||
#java.enable = true;
|
||||
|
||||
## To run "normal" linux applications seamlessly
|
||||
appimage = {
|
||||
|
|
@ -62,17 +52,6 @@
|
|||
binfmt = true;
|
||||
};
|
||||
|
||||
## Gamescope compositor for steam
|
||||
## (config copy-pasted from nixos wiki)
|
||||
#gamescope = {
|
||||
#enable = true;
|
||||
#capSysNice = true;
|
||||
#args = [
|
||||
#"--rt"
|
||||
#"--expose-wayland"
|
||||
#];
|
||||
#};
|
||||
|
||||
## "GameMode" - https://nixos.wiki/wiki/Gamemode
|
||||
## (config copy-pasted from mynixos)
|
||||
gamemode = {
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
|
||||
{
|
||||
|
||||
imports = [
|
||||
];
|
||||
|
||||
## Dunno if i did this right, but possible needed for keyring/polkit stuff ?
|
||||
security.pam.services.serenity.enableGnomeKeyring = true;
|
||||
|
||||
|
|
@ -23,8 +20,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
#dconf.enable = true;
|
||||
|
||||
};
|
||||
|
||||
services = {
|
||||
|
|
@ -38,13 +33,9 @@
|
|||
upower.enable = true;
|
||||
## for managing disks
|
||||
udisks2.enable = true;
|
||||
gnome = {
|
||||
## GNOME keyring
|
||||
gnome-keyring.enable = true;
|
||||
};
|
||||
## GNOME keyring
|
||||
gnome.gnome-keyring.enable = true;
|
||||
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
{ inputs, outputs, lib, config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
];
|
||||
|
||||
services = {
|
||||
|
||||
|
|
@ -11,7 +9,7 @@
|
|||
greetd = {
|
||||
enable = true;
|
||||
settings.default_session = {
|
||||
command = "${pkgs.greetd.regreet}/bin/regreet --cmd hyprland";
|
||||
command = "${pkgs.greetd.regreet}/bin/regreet --cmd sway";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue