usdate system and pulseaudio
This commit is contained in:
parent
a75b704ae5
commit
1cbcbabed7
53
flake.lock
generated
53
flake.lock
generated
@ -5,11 +5,11 @@
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1597074767,
|
||||
"narHash": "sha256-WrctYb/drpAsxvBJLDbA+wPCEx9fVDoHHKTMnjVZ4ZU=",
|
||||
"lastModified": 1612815054,
|
||||
"narHash": "sha256-5FA1MW0sLGBUuEOq25iXx7f17TPE1+FLlL+ah7nLIP0=",
|
||||
"owner": "alukardbf",
|
||||
"repo": "base16-nix",
|
||||
"rev": "d2a9a9a8cf652049f02bbd8671684d8a3e4fcc24",
|
||||
"rev": "f35d18e9912423e99d62c1d29529f518bdb5ce1d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -39,11 +39,11 @@
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1612646749,
|
||||
"narHash": "sha256-m2o9E4PHMJHRrp9udYfPp/onqY9flMD2dTKJuhvp7TM=",
|
||||
"lastModified": 1613153184,
|
||||
"narHash": "sha256-9ZIBmZuEjcxWON6zeEzCUfobTf/WTVQVOdg3gyNfhTw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "6dfa9ef85cf4e23ec42f34c9e988baaf793617a1",
|
||||
"rev": "1ee1d01daa19b3a6d16b5fb680c31a2bc110ce24",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -89,11 +89,11 @@
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1612537053,
|
||||
"narHash": "sha256-3y05uB7OkEtWngIKYx+xiY+oG+1QPvRROJkKBxO1XFc=",
|
||||
"lastModified": 1612967703,
|
||||
"narHash": "sha256-SAKaRKKDd1jM4fgbXUze+ynaHetHOPVkVrMfkRiA5XE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nix",
|
||||
"rev": "480426a364f09e7992230b32f2941a09fb52d729",
|
||||
"rev": "4e98f0345c144b9d85bed1f6b0bc509bf7ddc000",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -134,11 +134,11 @@
|
||||
},
|
||||
"nixpkgs-old": {
|
||||
"locked": {
|
||||
"lastModified": 1612568312,
|
||||
"narHash": "sha256-DbJ2aiZaFBYUTscEfjOqW/v1bCSE35X2g0rfmQQLEUs=",
|
||||
"lastModified": 1613208951,
|
||||
"narHash": "sha256-pxDu+9KZBnZkMcKBqSAqw1oQwTIbxTeIwcMtygLsWio=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "22a2b332378b99461edeaf9754dc2d6b4a210148",
|
||||
"rev": "2118cf551b9944cfdb929b8ea03556f097dd0381",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -150,11 +150,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1612647598,
|
||||
"narHash": "sha256-XAXgwTCxwvHxhvSKWSwkA0FGsRepTgoXHwHNx2ww5sg=",
|
||||
"lastModified": 1613447542,
|
||||
"narHash": "sha256-jUnEQK7wi9G5q1lO1ITzgWEvkOiyCY//TwUGgimu0SI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d1dc3064b974503e9f90d5bceaf0a3b4b030b86d",
|
||||
"rev": "3d0056a49140a29d0d782c5293c2c8f1e62c040d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -179,11 +179,11 @@
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1612545171,
|
||||
"narHash": "sha256-AZkSuO7H055eDD4KWBEDCX/R5fvw0vUMCErvQvYSEhA=",
|
||||
"lastModified": 1613226215,
|
||||
"narHash": "sha256-3rA5cGIrBHD6yeKhNhsF7/t461ww25oJY8KyBb0IhjU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "536fe36e23ab0fc8b7f35c24603422eee9fc17a2",
|
||||
"rev": "ff96a0fa5635770390b184ae74debea75c3fd534",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -204,29 +204,12 @@
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"nixpkgs-mozilla": "nixpkgs-mozilla",
|
||||
"nixpkgs-old": "nixpkgs-old",
|
||||
"spotify-tui": "spotify-tui",
|
||||
"zsh-autosuggestions": "zsh-autosuggestions",
|
||||
"zsh-cod": "zsh-cod",
|
||||
"zsh-nix-shell": "zsh-nix-shell",
|
||||
"zsh-you-should-use": "zsh-you-should-use"
|
||||
}
|
||||
},
|
||||
"spotify-tui": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1612427519,
|
||||
"narHash": "sha256-9N+0DUsCNZhw4QViJxmbTWxvFV9X6wyrzlYVjtHhJG8=",
|
||||
"owner": "Rigellute",
|
||||
"repo": "spotify-tui",
|
||||
"rev": "38c095884919bebc6c592d3662ddd1f9a93131f1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Rigellute",
|
||||
"repo": "spotify-tui",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zsh-autosuggestions": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
34
flake.nix
34
flake.nix
@ -3,12 +3,9 @@
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
|
||||
# nixpkgs-old.url = github:nixos/nixpkgs/nixos-20.09;
|
||||
nixpkgs-old.url = github:nixos/nixpkgs/nixos-20.09;
|
||||
# nix.url = github:nixos/nix/6ff9aa8df7ce8266147f74c65e2cc529a1e72ce0;
|
||||
home-manager.url = github:nix-community/home-manager;
|
||||
base16.url = github:alukardbf/base16-nix;
|
||||
# base16.url = "/media/base16";
|
||||
base16-horizon-scheme = {
|
||||
url = github:michael-ball/base16-horizon-scheme;
|
||||
flake = false;
|
||||
@ -37,10 +34,6 @@
|
||||
url = github:yvbbrjdr/i3lock-fancy-rapid;
|
||||
flake = false;
|
||||
};
|
||||
spotify-tui = {
|
||||
url = github:Rigellute/spotify-tui;
|
||||
flake = false;
|
||||
};
|
||||
nixpkgs-mozilla = {
|
||||
url = github:mozilla/nixpkgs-mozilla;
|
||||
flake = false;
|
||||
@ -56,33 +49,6 @@
|
||||
let
|
||||
hosts = builtins.attrNames (builtins.readDir ./machines);
|
||||
mkHost = name: let
|
||||
# pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
# inherit (inputs.nixpkgs) lib;
|
||||
|
||||
# specialArgsOld = {
|
||||
# inherit inputs;
|
||||
# };
|
||||
# specialArgs = specialArgsOld // {
|
||||
# inherit name;
|
||||
# };
|
||||
|
||||
# hm-nixos-as-super = { config, ... }: {
|
||||
# options.home-manager.users = lib.mkOption {
|
||||
# type = lib.types.attrsOf (lib.types.submoduleWith {
|
||||
# modules = [ ];
|
||||
# specialArgs = specialArgsOld // {
|
||||
# super = config;
|
||||
# };
|
||||
# });
|
||||
# };
|
||||
# };
|
||||
|
||||
# modules = [
|
||||
# (import ./default.nix)
|
||||
# inputs.home-manager.nixosModules.home-manager
|
||||
# hm-nixos-as-super
|
||||
# ];
|
||||
|
||||
system = builtins.readFile (./machines + "/${name}/system");
|
||||
modules = [ (import (./machines + "/${name}")) { device = name; } ];
|
||||
specialArgs = { inherit inputs; };
|
||||
|
@ -59,7 +59,7 @@ with config.deviceSpecific; {
|
||||
gparted
|
||||
keepassxc
|
||||
pinta
|
||||
pulseeffects
|
||||
pulseeffects-legacy
|
||||
qbittorrent
|
||||
spotifywm
|
||||
system-config-printer
|
||||
|
@ -9,28 +9,28 @@
|
||||
anonymousClients.allowedIpRanges = ["127.0.0.1"];
|
||||
};
|
||||
daemon.config = {
|
||||
avoid-resampling = "yes";
|
||||
|
||||
high-priority = "yes";
|
||||
nice-level = "-17";
|
||||
nice-level = "-15";
|
||||
|
||||
realtime-scheduling = "yes";
|
||||
realtime-priority = "9";
|
||||
|
||||
resample-method = "speex-float-8";
|
||||
enable-lfe-remixing = "no";
|
||||
avoid-resampling = "yes";
|
||||
|
||||
enable-lfe-remixing = "no";
|
||||
flat-volumes = "no";
|
||||
|
||||
rlimit-rtprio = "9";
|
||||
|
||||
default-sample-format = "float32le";
|
||||
default-sample-rate = "44100";
|
||||
default-sample-rate = "48000";
|
||||
alternate-sample-rate = "96000";
|
||||
default-sample-channels = "2";
|
||||
default-channel-map = "front-left,front-right";
|
||||
|
||||
default-fragments = "2";
|
||||
default-fragment-size-msec = "125";
|
||||
default-fragment-size-msec = "10";
|
||||
|
||||
deferred-volume-safety-margin-usec = "1";
|
||||
};
|
||||
|
@ -1,5 +1,4 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
# home-manager.users.alukard.xdg.configFile."PulseEffects/output/ATH-M50.json".source = ./ATH-M50.json;
|
||||
home-manager.users.alukard.xdg.configFile."PulseEffects/output/ATH-M50_Harman.json".text =
|
||||
(builtins.readFile ./ATH-M50_Harman.json);
|
||||
home-manager.users.alukard.xdg.configFile."PulseEffects/output/HE4XX_Harman.json".text =
|
||||
@ -11,8 +10,8 @@
|
||||
after = [ "sound.target" ];
|
||||
description = "PulseEffects daemon";
|
||||
wantedBy = [ "default.target" ];
|
||||
path = [ pkgs.pulseeffects ];
|
||||
serviceConfig.ExecStart = "${pkgs.pulseeffects}/bin/pulseeffects --gapplication-service";
|
||||
path = [ pkgs.pulseeffects-legacy ];
|
||||
serviceConfig.ExecStart = "${pkgs.pulseeffects-legacy}/bin/pulseeffects --gapplication-service";
|
||||
serviceConfig.Restart = "on-failure";
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user