mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Compare commits
1 commit
ea8b9efaaf
...
f830613ded
| Author | SHA1 | Date | |
|---|---|---|---|
| f830613ded |
21 changed files with 42 additions and 39 deletions
18
.pre-commit-config.yaml
Normal file
18
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
repos:
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: nixfmt
|
||||||
|
name: nixfmt
|
||||||
|
entry: nixfmt
|
||||||
|
language: system
|
||||||
|
types: [nix]
|
||||||
|
pass_filenames: false
|
||||||
|
args: ["."]
|
||||||
|
|
||||||
|
- id: deadnix
|
||||||
|
name: deadnix
|
||||||
|
entry: deadnix
|
||||||
|
language: system
|
||||||
|
types: [nix]
|
||||||
|
args: ["./modules", "./lib"]
|
||||||
|
|
||||||
|
|
@ -60,6 +60,8 @@ creation_rules:
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *system_rainbow_planet
|
- *system_rainbow_planet
|
||||||
|
- path_regex: ^\.pre-commit-config\.yaml$
|
||||||
|
# Plain YAML file, not encrypted
|
||||||
- path_regex: modules/shared/secrets.yaml$
|
- path_regex: modules/shared/secrets.yaml$
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
system.stateVersion = 4;
|
system.stateVersion = 4;
|
||||||
|
|
||||||
homebrew = {
|
homebrew = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
# Settings just for work machines go here
|
# Settings just for work machines go here
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
sdc = {
|
sdc = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ ... }:
|
_:
|
||||||
let
|
let
|
||||||
volume_base = "/var/lib/audiobookshelf";
|
volume_base = "/var/lib/audiobookshelf";
|
||||||
http_port = "13378";
|
http_port = "13378";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,15 +11,14 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/hypr/frappe.conf".source = (
|
".config/hypr/frappe.conf".source =
|
||||||
pkgs.fetchFromGitHub {
|
pkgs.fetchFromGitHub {
|
||||||
owner = "catppuccin";
|
owner = "catppuccin";
|
||||||
repo = "hyprland";
|
repo = "hyprland";
|
||||||
rev = "99a88fd21fac270bd999d4a26cf0f4a4222c58be";
|
rev = "99a88fd21fac270bd999d4a26cf0f4a4222c58be";
|
||||||
hash = "sha256-07B5QmQmsUKYf38oWU3+2C6KO4JvinuTwmW1Pfk8CT8=";
|
hash = "sha256-07B5QmQmsUKYf38oWU3+2C6KO4JvinuTwmW1Pfk8CT8=";
|
||||||
}
|
}
|
||||||
+ "/themes/frappe.conf"
|
+ "/themes/frappe.conf";
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
programs.hexchat.enable = true;
|
programs.hexchat.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
programs.pidgin.enable = true;
|
programs.pidgin.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,14 +39,13 @@ with lib.hm.gvariant;
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/tilix/schemes/Beanbag-Mathias.json".source = ../../../files/tilix/Beanbag-Mathias.json;
|
".config/tilix/schemes/Beanbag-Mathias.json".source = ../../../files/tilix/Beanbag-Mathias.json;
|
||||||
".config/tilix/schemes/Catppuccin-Frappe.json".source = (
|
".config/tilix/schemes/Catppuccin-Frappe.json".source =
|
||||||
pkgs.fetchFromGitHub {
|
pkgs.fetchFromGitHub {
|
||||||
owner = "catppuccin";
|
owner = "catppuccin";
|
||||||
repo = "tilix";
|
repo = "tilix";
|
||||||
rev = "3fd05e03419321f2f2a6aad6da733b28be1765ef";
|
rev = "3fd05e03419321f2f2a6aad6da733b28be1765ef";
|
||||||
hash = "sha256-SI7QxQ+WBHzeuXbTye+s8pi4tDVZOV4Aa33mRYO276k=";
|
hash = "sha256-SI7QxQ+WBHzeuXbTye+s8pi4tDVZOV4Aa33mRYO276k=";
|
||||||
}
|
}
|
||||||
+ "/src/Catppuccin-Frappe.json"
|
+ "/src/Catppuccin-Frappe.json";
|
||||||
);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,15 +2,14 @@
|
||||||
{
|
{
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/waybar/config".source = ../../../files/waybar/config;
|
".config/waybar/config".source = ../../../files/waybar/config;
|
||||||
".config/waybar/frappe.css".source = (
|
".config/waybar/frappe.css".source =
|
||||||
pkgs.fetchFromGitHub {
|
pkgs.fetchFromGitHub {
|
||||||
owner = "catppuccin";
|
owner = "catppuccin";
|
||||||
repo = "waybar";
|
repo = "waybar";
|
||||||
rev = "f74ab1eecf2dcaf22569b396eed53b2b2fbe8aff";
|
rev = "f74ab1eecf2dcaf22569b396eed53b2b2fbe8aff";
|
||||||
hash = "sha256-WLJMA2X20E5PCPg0ZPtSop0bfmu+pLImP9t8A8V4QK8=";
|
hash = "sha256-WLJMA2X20E5PCPg0ZPtSop0bfmu+pLImP9t8A8V4QK8=";
|
||||||
}
|
}
|
||||||
+ "/themes/frappe.css"
|
+ "/themes/frappe.css";
|
||||||
);
|
|
||||||
".config/waybar/style.css".source = ../../../files/waybar/style.css;
|
".config/waybar/style.css".source = ../../../files/waybar/style.css;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/xfce4/terminal/accels.scm".source = ../../../files/xfce4/terminal/accels.scm;
|
".config/xfce4/terminal/accels.scm".source = ../../../files/xfce4/terminal/accels.scm;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
services = {
|
services = {
|
||||||
flatpak = {
|
flatpak = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
_: {
|
||||||
{
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_US.UTF-8";
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
hostName = config.networking.hostName;
|
inherit (config.networking) hostName;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.zsh.shellAliases.nixroutes = "cd ~/repos/dots && echo '=== Current Routes ===' && ip route show && ip -6 route show && echo '' && echo '=== New Build Routes ===' && nix eval --json '.#nixosConfigurations.${hostName}.config.systemd.network.networks.\"10-wan\".routes'";
|
programs.zsh.shellAliases.nixroutes = "cd ~/repos/dots && echo '=== Current Routes ===' && ip route show && ip -6 route show && echo '' && echo '=== New Build Routes ===' && nix eval --json '.#nixosConfigurations.${hostName}.config.systemd.network.networks.\"10-wan\".routes'";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue