1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-07-08 17:08:30 +00:00
This commit is contained in:
Rae 5e 2025-07-07 20:15:08 -04:00
parent 146a2de0ec
commit c073f16858
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
6 changed files with 440 additions and 404 deletions

52
nixos/flake.lock generated
View file

@ -97,6 +97,24 @@
"type": "github"
}
},
"musnix": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1741303672,
"narHash": "sha256-eRKbKccBu3PK/oJpmUuLo+0v45d0SEjosE8tVsHbpeA=",
"owner": "musnix",
"repo": "musnix",
"rev": "d56a15f30329f304151e4e05fa82264d127da934",
"type": "github"
},
"original": {
"owner": "musnix",
"repo": "musnix",
"type": "github"
}
},
"nix-flatpak": {
"locked": {
"lastModified": 1734128415,
@ -115,16 +133,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1734323986,
"narHash": "sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE=",
"owner": "nixos",
"lastModified": 1740695751,
"narHash": "sha256-D+R+kFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "394571358ce82dff7411395829aa6a3aad45b907",
"rev": "6313551cd05425cd5b3e63fe47dbc324eabb15e4",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
@ -146,6 +164,22 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1734323986,
"narHash": "sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "394571358ce82dff7411395829aa6a3aad45b907",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1736061677,
"narHash": "sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60=",
@ -187,7 +221,7 @@
"inputs": {
"libcamera-src": "libcamera-src",
"libpisp-src": "libpisp-src",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs_3",
"rpi-bluez-firmware-src": "rpi-bluez-firmware-src",
"rpi-firmware-nonfree-src": "rpi-firmware-nonfree-src",
"rpi-firmware-src": "rpi-firmware-src",
@ -214,8 +248,9 @@
"inputs": {
"fenix": "fenix",
"home-manager": "home-manager",
"musnix": "musnix",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs",
"nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur",
"raspberry-pi-nix": "raspberry-pi-nix"
@ -382,4 +417,3 @@
"root": "root",
"version": 7
}

View file

@ -2,7 +2,7 @@
description = "rae's nixOS config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
home-manager = {
@ -21,6 +21,8 @@
};
# Raspberry Pi support
raspberry-pi-nix.url = "github:nix-community/raspberry-pi-nix";
# Real-time audio
musnix.url = "github:musnix/musnix";
};
outputs = { self, nixpkgs, home-manager, nix-flatpak, ... }@inputs: {

View file

@ -81,8 +81,8 @@
url = "http://127.0.0.1:631/";
}
{
name = "Pinky & Pepper Forever";
url = "https://www.silversprocket.net/2020/05/02/pinky-and-pepper-forever-by-eddy-atoms-part-1-of-2/";
name = "Battle of the Bits";
url = "https://battleofthebits.com/";
}
];
}

View file

@ -1,5 +1,6 @@
{ inputs, config, pkgs, ... }: {
imports = [
inputs.musnix.nixosModules.musnix
inputs.nix-flatpak.nixosModules.nix-flatpak
./hardware-configuration.nix
./packages.nix
@ -20,19 +21,11 @@
hardwareAcceleration = {
enable = true;
intel = {
# TODO: change these when you get to your desktop pc
videoPlayback = {
enable = true;
package = pkgs.intel-vaapi-driver;
};
qsv = {
enable = true;
package = pkgs.intel-media-sdk;
};
videoPlayback.enable = true;
qsv.enable = true;
};
nvidia = {
enable = true;
# TODO: this also needs to be changed back to default on your desktop
package = config.boot.kernelPackages.nvidiaPackages.legacy_390;
};
};
@ -60,12 +53,12 @@
supportedFilesystems = [ "ntfs" ];
};
# # Music pendrive
# fileSystems."/mnt/world" = {
# device = "/dev/disk/by-uuid/639bae80-0f5d-481c-ae4e-d2c70f754a1c";
# fsType = "ext4";
# neededForBoot = false;
# };
# Music pendrive
fileSystems."/mnt/world" = {
device = "/dev/disk/by-uuid/639bae80-0f5d-481c-ae4e-d2c70f754a1c";
fsType = "ext4";
neededForBoot = false;
};
# # Big fucking thing
# fileSystems."/mnt/rae2" = {
# device = "/dev/disk/by-uuid/fbbcc72f-34af-425c-9151-ef8919a6ae07";
@ -210,6 +203,12 @@
};
};
musnix = {
enable = true;
rtcqs.enable = true;
soundcardPciId = "00:1f.3";
};
users.users.rae.shell = pkgs.fish;
virtualisation.docker.enable = true;

View file

@ -73,7 +73,7 @@
qbittorrent # Featureful free software BitTorrent client
slack # Desktop client for Slack
tiny # Console IRC client
vesktop # Alternate client for Discord with Vencord built-in
unstable.vesktop # Alternate client for Discord with Vencord built-in
yt-dlp # Command-line tool to download videos from YouTube.com and other sites (youtube-dl fork)
# system tools
android-tools # Android SDK platform tools
@ -109,6 +109,7 @@
playerctl # Command-line utility and library for controlling media players that implement MPRIS
reaper # Digital audio workstation
unstable.rmpc # TUI music player client for MPD with album art support via kitty image protocol
supercollider # Programming language for real time audio synthesis
# vcv-rack # Open-source virtual modular synthesizer
# X11
hsetroot # Allows you to compose wallpapers ('root pixmaps') for X

View file

@ -2,7 +2,7 @@
{ pkgs, config, lib, ... }: let
cfg = config.r5e.home;
in with lib; {
options.r5e.home = mkOption {
options.r5e.user = mkOption {
type = types.attrsOf {
wallpaper = mkOption {
type = types.str;