Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc6ba6a82d | ||
|
|
152a3c192e | ||
|
|
bf35d77d66 |
Generated
+17
@@ -302,6 +302,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1786943417,
|
||||
"narHash": "sha256-b4qgjdFtlz5TAZ1Hi7DFJeqX3sjaDUnrwr9OO+O1rM0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0dd31db7e6dbf9ce05697c4545f6fe01accec994",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-26.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1764242076,
|
||||
@@ -423,6 +439,7 @@
|
||||
"nix-gaming": "nix-gaming",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_6",
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"psysonic": "psysonic",
|
||||
"try-cli": "try-cli",
|
||||
"voxtype": "voxtype",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||
nix-gaming.url = "github:fufexan/nix-gaming";
|
||||
disko.url = "github:nix-community/disko/latest";
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
@@ -45,6 +46,7 @@
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-stable,
|
||||
nix-gaming,
|
||||
impermanence,
|
||||
disko,
|
||||
@@ -59,6 +61,10 @@
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
pkgs-stable = import nixpkgs-stable {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
nix-gaming = inputs.nix-gaming.packages.${system};
|
||||
|
||||
mkHost = hostname: nixpkgs.lib.nixosSystem {
|
||||
@@ -74,6 +80,7 @@
|
||||
users.chris = import ./home;
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
inherit pkgs-stable;
|
||||
inherit impermanence;
|
||||
inherit hostname;
|
||||
};
|
||||
@@ -82,6 +89,7 @@
|
||||
];
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit pkgs-stable;
|
||||
inherit impermanence;
|
||||
inherit disko;
|
||||
inherit hostname;
|
||||
@@ -100,6 +108,7 @@
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
inherit pkgs-stable;
|
||||
inherit impermanence;
|
||||
};
|
||||
modules = [
|
||||
|
||||
+14
-14
@@ -5,18 +5,18 @@
|
||||
./nas-mounts.nix
|
||||
];
|
||||
|
||||
# fileSystems = {
|
||||
# "/home/chris/Games" = {
|
||||
# device = "/dev/disk/by-label/Games";
|
||||
# fsType = "ext4";
|
||||
# options = [
|
||||
# "defaults"
|
||||
# "x-systemd.mount-timeout=5"
|
||||
# "user"
|
||||
# "exec"
|
||||
# "x-systemd.automount"
|
||||
# "noauto"
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
fileSystems = {
|
||||
"/home/chris/Games" = {
|
||||
device = "/dev/disk/by-label/Games";
|
||||
fsType = "ext4";
|
||||
options = [
|
||||
"defaults"
|
||||
"x-systemd.mount-timeout=5"
|
||||
"user"
|
||||
"exec"
|
||||
"x-systemd.automount"
|
||||
"noauto"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
{ pkgs, inputs, nix-direnv, ... }:
|
||||
{ pkgs, pkgs-stable, inputs, nix-direnv, ... }:
|
||||
|
||||
let
|
||||
# krita-appimage = pkgs.callPackage ../packages/krita.nix { };
|
||||
@@ -43,7 +43,7 @@ in
|
||||
atlauncher # Minecraft launcher
|
||||
mpv # Video player
|
||||
nautilus # Document viewer
|
||||
nextcloud-client # Nextcloud sync client
|
||||
pkgs-stable.nextcloud-client # Nextcloud sync client
|
||||
obsidian # Notes software
|
||||
inputs.psysonic.packages.${pkgs.system}.default # Music player
|
||||
signal-desktop # Messaging
|
||||
|
||||
@@ -57,7 +57,6 @@ in
|
||||
"splash"
|
||||
"video=DP-1:3840x2160@60"
|
||||
"video=DP-2:3840x2160@60"
|
||||
"amdgpu.pcie_gen_cap=0x40000"
|
||||
];
|
||||
resumeDevice = "/dev/disk/by-partlabel/disk-${hostname}-root";
|
||||
kernel.sysctl = {
|
||||
|
||||
@@ -7,5 +7,23 @@
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
|
||||
wireplumber.extraConfig."99-default-audio" = {
|
||||
"monitor.alsa.rules" = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
"node.name" = "alsa_output.usb-ACTIONS_Pebble_V3-00.analog-stereo";
|
||||
}
|
||||
];
|
||||
actions = {
|
||||
update-props = {
|
||||
"priority.driver" = 2000;
|
||||
"priority.sessions" = 2000;
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user