bump: updated home-manager and goober config

This commit is contained in:
Harry 2025-01-01 17:59:05 +01:00
parent c84a24c2ac
commit d66a08f8f2
5 changed files with 34 additions and 39 deletions

View file

@ -256,16 +256,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1726989464, "lastModified": 1735344290,
"narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=", "narHash": "sha256-oJDtWPH1oJT34RJK1FSWjwX4qcGOBRkcNQPD0EbSfNM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176", "rev": "613691f285dad87694c2ba1c9e6298d04736292d",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-24.05", "ref": "release-24.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -414,13 +414,13 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgsSmall": {
"locked": { "locked": {
"lastModified": 1734927162, "lastModified": 1735640024,
"narHash": "sha256-egJAEOe61A3FFU1KkG7GW51Q9uq39L4yfkrGfA2p2Eo=", "narHash": "sha256-4I5qiwYmZFygUC3numWaMhStwRYX+Lk0ISddJIoHEwE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d28f9301c35e66751872254b8029f31fa9e0da20", "rev": "bc130b5a632d110d76f1584213eab6e029fd7802",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -430,6 +430,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1735531152,
"narHash": "sha256-As8I+ebItDKtboWgDXYZSIjGlKeqiLBvjxsQHUmAf1Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3ffbbdbac0566a0977da3d2657b89cbcfe9a173b",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1731763621, "lastModified": 1731763621,
@ -457,6 +473,7 @@
"nix-secrets": "nix-secrets", "nix-secrets": "nix-secrets",
"nixos-generators": "nixos-generators", "nixos-generators": "nixos-generators",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgsSmall": "nixpkgsSmall",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }
}, },

View file

@ -2,10 +2,11 @@
description = "the silliest NixOS config!"; description = "the silliest NixOS config!";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11-small"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgsSmall.url = "github:NixOS/nixpkgs/nixos-24.11-small";
sops-nix.url = "github:Mic92/sops-nix"; sops-nix.url = "github:Mic92/sops-nix";
home-manager.url = "github:nix-community/home-manager/release-24.05"; home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
alejandra.url = "github:kamadorueda/alejandra/3.0.0"; alejandra.url = "github:kamadorueda/alejandra/3.0.0";
@ -36,6 +37,7 @@
{ {
self, self,
nixpkgs, nixpkgs,
nixpkgsSmall,
sops-nix, sops-nix,
nixos-generators, nixos-generators,
nix-darwin, nix-darwin,
@ -56,7 +58,7 @@
in in
{ {
nixosConfigurations = { nixosConfigurations = {
sisyphe = nixpkgs.lib.nixosSystem { sisyphe = nixpkgsSmall.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = specialArgs; specialArgs = specialArgs;
modules = [ modules = [

View file

@ -65,7 +65,7 @@
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.harry123 = { users.users.harry123 = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" "audio" "video" ]; # Enable sudo for the user.
packages = with pkgs; [ packages = with pkgs; [
firefox firefox
tailscale tailscale

View file

@ -1,33 +1,10 @@
{config, pkgs, ...}: {config, pkgs, ...}:
{ {
sound.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire.enable = false;
enable = true; hardware.pulseaudio.enable = true;
alsa.enable = true; hardware.pulseaudio.support32Bit = true;
alsa.support32Bit = true;
pulse.enable = true;
#jack.enable = true;
wireplumber.extraConfig."10-bluez" = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
"bluez5.roles" = [
"hsp_hs"
"hsp_ag"
"hfp_hf"
"hfp_ag"
];
};
};
};
services.pipewire.wireplumber.extraConfig."11-bluetooth-policy" = {
"wireplumber.settings" = {
"bluetooth.autoswitch-to-headset-profile" = false;
};
};
environment.systemPackages = [ environment.systemPackages = [
pkgs.pwvucontrol pkgs.pwvucontrol
]; ];

View file

@ -3,7 +3,6 @@
services.flatpak.packages = [ services.flatpak.packages = [
"io.github.zen_browser.zen" "io.github.zen_browser.zen"
"dev.vencord.Vesktop"
"com.unicornsonlsd.finamp" "com.unicornsonlsd.finamp"
]; ];