1
Fork 0

Compare commits

...

5 Commits

12 changed files with 90 additions and 34 deletions

View File

@ -1,6 +1,6 @@
# The main configuration file. # The main configuration file.
{ config, pkgs, ... }: { ... }:
{ {
imports = [ imports = [
@ -12,7 +12,10 @@
]; ];
nix = { nix = {
settings.experimental-features = [ "flakes" "nix-command" ]; settings.experimental-features = [
"flakes"
"nix-command"
];
}; };
nixpkgs = { nixpkgs = {

View File

@ -1,6 +1,6 @@
# Configuration for programs and services. # Configuration for programs and services.
{ pkgs, ... }: { ... }:
{ {
programs = { programs = {

View File

@ -8,7 +8,10 @@
users.bauke = { users.bauke = {
description = "Bauke"; description = "Bauke";
extraGroups = [ "docker" "wheel" ]; extraGroups = [
"docker"
"wheel"
];
isNormalUser = true; isNormalUser = true;
}; };
}; };

View File

@ -1,6 +1,6 @@
# The main configuration file. # The main configuration file.
{ config, pkgs, ... }: { config, ... }:
{ {
imports = [ imports = [
@ -15,7 +15,10 @@
musnix.enable = true; musnix.enable = true;
nix = { nix = {
settings.experimental-features = [ "flakes" "nix-command" ]; settings.experimental-features = [
"flakes"
"nix-command"
];
}; };
nixpkgs = { nixpkgs = {

View File

@ -77,7 +77,9 @@
metersLv2 metersLv2
mod-arpeggiator-lv2 mod-arpeggiator-lv2
mpv mpv
nil
nitrogen nitrogen
unstable.nixfmt-rfc-style
nix-output-monitor nix-output-monitor
nodejs nodejs
nodePackages.pnpm nodePackages.pnpm
@ -142,13 +144,21 @@
xorg.libXcursor xorg.libXcursor
zam-plugins zam-plugins
(callPackage ./samrewritten.nix { }) (callPackage ./samrewritten.nix { })
(unstable.clonehero.overrideAttrs ({ postInstall ? "", ... }: { (unstable.clonehero.overrideAttrs (
# Remove the built-in songs from Clone Hero. {
postInstall = postInstall + '' postInstall ? "",
rm -rf "$out/share/clonehero/StreamingAssets/songs" ...
mkdir "$out/share/clonehero/StreamingAssets/songs" }:
''; {
})) # Remove the built-in songs from Clone Hero.
postInstall =
postInstall
+ ''
rm -rf "$out/share/clonehero/StreamingAssets/songs"
mkdir "$out/share/clonehero/StreamingAssets/songs"
'';
}
))
(wrapOBS { (wrapOBS {
plugins = with obs-studio-plugins; [ plugins = with obs-studio-plugins; [
input-overlay input-overlay

View File

@ -30,7 +30,10 @@
nssmdns = true; nssmdns = true;
}; };
picom.enable = true; picom = {
enable = true;
package = pkgs.picom-next;
};
pipewire = { pipewire = {
alsa.enable = true; alsa.enable = true;

View File

@ -1,12 +1,13 @@
{ lib {
, stdenv lib,
, fetchFromGitHub stdenv,
, pkg-config fetchFromGitHub,
, curl pkg-config,
, glibmm curl,
, gtkmm3 glibmm,
, steam gtkmm3,
, yajl steam,
yajl,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -21,7 +22,13 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ curl glibmm gtkmm3 steam yajl ]; buildInputs = [
curl
glibmm
gtkmm3
steam
yajl
];
installFlags = [ "PREFIX=$(out)" ]; installFlags = [ "PREFIX=$(out)" ];

View File

@ -23,9 +23,19 @@
fonts = { fonts = {
fontconfig = { fontconfig = {
defaultFonts = { defaultFonts = {
monospace = [ "Hasklig" "Victor Mono" "DejaVu Sans Mono" ]; monospace = [
sansSerif = [ "Inter" "DejaVu Sans" ]; "Hasklig"
serif = [ "Inter" "DejaVu Sans" ]; "Victor Mono"
"DejaVu Sans Mono"
];
sansSerif = [
"Inter"
"DejaVu Sans"
];
serif = [
"Inter"
"DejaVu Sans"
];
}; };
}; };
@ -83,13 +93,9 @@
# specified twice. To make it work, right-click the NetworkManager tray # specified twice. To make it work, right-click the NetworkManager tray
# icon and toggle "Enable Networking", then check "/etc/resolv.conf" that # icon and toggle "Enable Networking", then check "/etc/resolv.conf" that
# this IP is at the top. # this IP is at the top.
insertNameservers = [ insertNameservers = [ "192.168.0.202" ];
"192.168.0.202"
];
}; };
nameservers = [ nameservers = [ "192.168.0.202" ];
"192.168.0.202"
];
}; };
security = { security = {

View File

@ -8,7 +8,13 @@
users.bauke = { users.bauke = {
description = "Bauke"; description = "Bauke";
extraGroups = [ "adbusers" "networkmanager" "plugdev" "vboxusers" "wheel" ]; extraGroups = [
"adbusers"
"networkmanager"
"plugdev"
"vboxusers"
"wheel"
];
isNormalUser = true; isNormalUser = true;
}; };
}; };

View File

@ -76,6 +76,14 @@
"liveServer.settings.wait": 1000, "liveServer.settings.wait": 1000,
// Nix (ID: jnoortheen.nix-ide) // Nix (ID: jnoortheen.nix-ide)
"nix.enableLanguageServer": true, "nix.enableLanguageServer": true,
"nix.serverPath": "nil",
"nix.serverSettings": {
"nil": {
"formatting": {
"command": ["nixfmt"]
}
}
},
// Nix Environment Selector (ID: arrterian.nix-env-selector) // Nix Environment Selector (ID: arrterian.nix-env-selector)
"nixEnvSelector.nixFile": "${workspaceRoot}/flake.nix", "nixEnvSelector.nixFile": "${workspaceRoot}/flake.nix",
// vscode-pdf (ID: tomoki1207.pdf) // vscode-pdf (ID: tomoki1207.pdf)

View File

@ -0,0 +1,2 @@
[global]
warn_timeout = "1m"

View File

@ -1,3 +1,5 @@
double_click_delay = 250
[icons.overrides] [icons.overrides]
bear = "🐻" bear = "🐻"
bunny = "🐇" bunny = "🐇"
@ -20,6 +22,9 @@ hide_when_empty = true
[[block.click]] [[block.click]]
button = "left" button = "left"
cmd = "xdg-open https://rss.azedia.lan" cmd = "xdg-open https://rss.azedia.lan"
[[block.click]]
button = "double_left"
update = true
[[block]] [[block]]
block = "time" block = "time"