mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-07-08 17:08:30 +00:00
~
This commit is contained in:
parent
146a2de0ec
commit
c073f16858
6 changed files with 440 additions and 404 deletions
52
nixos/flake.lock
generated
52
nixos/flake.lock
generated
|
@ -97,6 +97,24 @@
|
||||||
"type": "github"
|
"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": {
|
"nix-flatpak": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734128415,
|
"lastModified": 1734128415,
|
||||||
|
@ -115,16 +133,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734323986,
|
"lastModified": 1740695751,
|
||||||
"narHash": "sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE=",
|
"narHash": "sha256-D+R+kFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "394571358ce82dff7411395829aa6a3aad45b907",
|
"rev": "6313551cd05425cd5b3e63fe47dbc324eabb15e4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-24.11",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -146,6 +164,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"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": {
|
"locked": {
|
||||||
"lastModified": 1736061677,
|
"lastModified": 1736061677,
|
||||||
"narHash": "sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60=",
|
"narHash": "sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60=",
|
||||||
|
@ -187,7 +221,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"libcamera-src": "libcamera-src",
|
"libcamera-src": "libcamera-src",
|
||||||
"libpisp-src": "libpisp-src",
|
"libpisp-src": "libpisp-src",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"rpi-bluez-firmware-src": "rpi-bluez-firmware-src",
|
"rpi-bluez-firmware-src": "rpi-bluez-firmware-src",
|
||||||
"rpi-firmware-nonfree-src": "rpi-firmware-nonfree-src",
|
"rpi-firmware-nonfree-src": "rpi-firmware-nonfree-src",
|
||||||
"rpi-firmware-src": "rpi-firmware-src",
|
"rpi-firmware-src": "rpi-firmware-src",
|
||||||
|
@ -214,8 +248,9 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"fenix": "fenix",
|
"fenix": "fenix",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
"musnix": "musnix",
|
||||||
"nix-flatpak": "nix-flatpak",
|
"nix-flatpak": "nix-flatpak",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"raspberry-pi-nix": "raspberry-pi-nix"
|
"raspberry-pi-nix": "raspberry-pi-nix"
|
||||||
|
@ -382,4 +417,3 @@
|
||||||
"root": "root",
|
"root": "root",
|
||||||
"version": 7
|
"version": 7
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
description = "rae's nixOS config flake";
|
description = "rae's nixOS config flake";
|
||||||
|
|
||||||
inputs = {
|
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";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
@ -21,6 +21,8 @@
|
||||||
};
|
};
|
||||||
# Raspberry Pi support
|
# Raspberry Pi support
|
||||||
raspberry-pi-nix.url = "github:nix-community/raspberry-pi-nix";
|
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: {
|
outputs = { self, nixpkgs, home-manager, nix-flatpak, ... }@inputs: {
|
||||||
|
|
|
@ -81,8 +81,8 @@
|
||||||
url = "http://127.0.0.1:631/";
|
url = "http://127.0.0.1:631/";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "Pinky & Pepper Forever";
|
name = "Battle of the Bits";
|
||||||
url = "https://www.silversprocket.net/2020/05/02/pinky-and-pepper-forever-by-eddy-atoms-part-1-of-2/";
|
url = "https://battleofthebits.com/";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ inputs, config, pkgs, ... }: {
|
{ inputs, config, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
|
inputs.musnix.nixosModules.musnix
|
||||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
@ -20,19 +21,11 @@
|
||||||
hardwareAcceleration = {
|
hardwareAcceleration = {
|
||||||
enable = true;
|
enable = true;
|
||||||
intel = {
|
intel = {
|
||||||
# TODO: change these when you get to your desktop pc
|
videoPlayback.enable = true;
|
||||||
videoPlayback = {
|
qsv.enable = true;
|
||||||
enable = true;
|
|
||||||
package = pkgs.intel-vaapi-driver;
|
|
||||||
};
|
|
||||||
qsv = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.intel-media-sdk;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
nvidia = {
|
nvidia = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# TODO: this also needs to be changed back to default on your desktop
|
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.legacy_390;
|
package = config.boot.kernelPackages.nvidiaPackages.legacy_390;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -60,12 +53,12 @@
|
||||||
supportedFilesystems = [ "ntfs" ];
|
supportedFilesystems = [ "ntfs" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# # Music pendrive
|
# Music pendrive
|
||||||
# fileSystems."/mnt/world" = {
|
fileSystems."/mnt/world" = {
|
||||||
# device = "/dev/disk/by-uuid/639bae80-0f5d-481c-ae4e-d2c70f754a1c";
|
device = "/dev/disk/by-uuid/639bae80-0f5d-481c-ae4e-d2c70f754a1c";
|
||||||
# fsType = "ext4";
|
fsType = "ext4";
|
||||||
# neededForBoot = false;
|
neededForBoot = false;
|
||||||
# };
|
};
|
||||||
# # Big fucking thing
|
# # Big fucking thing
|
||||||
# fileSystems."/mnt/rae2" = {
|
# fileSystems."/mnt/rae2" = {
|
||||||
# device = "/dev/disk/by-uuid/fbbcc72f-34af-425c-9151-ef8919a6ae07";
|
# 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;
|
users.users.rae.shell = pkgs.fish;
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
qbittorrent # Featureful free software BitTorrent client
|
qbittorrent # Featureful free software BitTorrent client
|
||||||
slack # Desktop client for Slack
|
slack # Desktop client for Slack
|
||||||
tiny # Console IRC client
|
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)
|
yt-dlp # Command-line tool to download videos from YouTube.com and other sites (youtube-dl fork)
|
||||||
# system tools
|
# system tools
|
||||||
android-tools # Android SDK platform tools
|
android-tools # Android SDK platform tools
|
||||||
|
@ -109,6 +109,7 @@
|
||||||
playerctl # Command-line utility and library for controlling media players that implement MPRIS
|
playerctl # Command-line utility and library for controlling media players that implement MPRIS
|
||||||
reaper # Digital audio workstation
|
reaper # Digital audio workstation
|
||||||
unstable.rmpc # TUI music player client for MPD with album art support via kitty image protocol
|
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
|
# vcv-rack # Open-source virtual modular synthesizer
|
||||||
# X11
|
# X11
|
||||||
hsetroot # Allows you to compose wallpapers ('root pixmaps') for X
|
hsetroot # Allows you to compose wallpapers ('root pixmaps') for X
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{ pkgs, config, lib, ... }: let
|
{ pkgs, config, lib, ... }: let
|
||||||
cfg = config.r5e.home;
|
cfg = config.r5e.home;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
options.r5e.home = mkOption {
|
options.r5e.user = mkOption {
|
||||||
type = types.attrsOf {
|
type = types.attrsOf {
|
||||||
wallpaper = mkOption {
|
wallpaper = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue