First build; Too many bugs...

This commit is contained in:
2026-03-27 23:54:05 +01:00
parent 8d326d27c9
commit 21bff544f3
27 changed files with 983 additions and 392 deletions

5
.gitignore vendored
View File

@@ -1 +1,4 @@
result/
result/*

806
flake.lock generated
View File

@@ -1,50 +1,82 @@
{ {
"nodes": { "nodes": {
"brew-src": { "aquamarine": {
"flake": false, "inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": { "locked": {
"lastModified": 1749511373, "lastModified": 1774211390,
"narHash": "sha256-7u1TdHQaUCzzgf/n8T3bQosuYXyNBEPU/3WQQqozE5o=", "narHash": "sha256-sTtAgCCaX8VNNZlQFACd3i1IQ+DB0Wf3COgiFS152ds=",
"owner": "Homebrew", "owner": "hyprwm",
"repo": "brew", "repo": "aquamarine",
"rev": "7b4ef99fed96966269ee35994407fa4c06097a4d", "rev": "f62a4dbfa4e5584f14ad4c62afedf6e4b433cf70",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Homebrew", "owner": "hyprwm",
"ref": "4.5.6", "repo": "aquamarine",
"repo": "brew",
"type": "github" "type": "github"
} }
}, },
"darwin": { "catppuccin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1751313918, "lastModified": 1774616169,
"narHash": "sha256-HsJM3XLa43WpG+665aGEh8iS8AfEwOIQWk3Mke3e7nk=", "narHash": "sha256-fP4bU3SOH5sefSl6EagqULFs+bXoo3h3VLQCCyJplo4=",
"owner": "lnl7", "owner": "catppuccin",
"repo": "nix-darwin", "repo": "nix",
"rev": "e04a388232d9a6ba56967ce5b53a8a6f713cdfcf", "rev": "e616c61cd9f7b05b32af266bc005fa266860dacf",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "lnl7", "owner": "catppuccin",
"repo": "nix-darwin", "repo": "nix",
"type": "github" "type": "github"
} }
}, },
"flake-compat": { "flake-compat": {
"flake": false,
"locked": {
"lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
"owner": "NixOS",
"repo": "flake-compat",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_2": {
"locked": { "locked": {
"lastModified": 1733328505, "lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"revCount": 69, "revCount": 69,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz?rev=ff81ac966bb2cae68946d5ed5fc4994f96d0ffec&revCount=69" "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@@ -56,11 +88,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1763759067, "lastModified": 1772408722,
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=", "narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0", "rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -77,11 +109,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1765835352, "lastModified": 1769996383,
"narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "a34fae9c08a15ad73f295041fec82323541400a9", "rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -90,6 +122,28 @@
"type": "github" "type": "github"
} }
}, },
"gitignore": {
"inputs": {
"nixpkgs": [
"hyprland",
"pre-commit-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -97,11 +151,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752093218, "lastModified": 1774626137,
"narHash": "sha256-+3rXu8ewcNDi65/2mKkdSGrivQs5zEZVp5aYszXC0d0=", "narHash": "sha256-1WelwA45Xm4glTG8R9IX9jYeFKDG2HbR79jAauLezUE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "206ed3c71418b52e176f16f58805c96e84555320", "rev": "9df3a639007cfe0d074433f7fc225ea94f877d08",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -111,36 +165,447 @@
"type": "github" "type": "github"
} }
}, },
"nix-homebrew": { "hyprcursor": {
"inputs": { "inputs": {
"brew-src": "brew-src" "hyprlang": "hyprlang",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1749952250, "lastModified": 1772461003,
"narHash": "sha256-V2ix0knpdJXirQ+4pjbnggjdSALTsFWGIP/NDpaQkdU=", "narHash": "sha256-pVICsV7FtcEeVwg5y/LFh3XFUkVJninm/P1j/JHzEbM=",
"owner": "zhaofengli", "owner": "hyprwm",
"repo": "nix-homebrew", "repo": "hyprcursor",
"rev": "37126f06f4890f019af3d7606ce5d30a457afcd0", "rev": "b62396457b9cfe2ebf24fe05404b09d2a40f8ed7",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "zhaofengli", "owner": "hyprwm",
"repo": "nix-homebrew", "repo": "hyprcursor",
"type": "github"
}
},
"hyprcursor_2": {
"inputs": {
"hyprlang": [
"hyprland",
"hyprlang"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1772461003,
"narHash": "sha256-pVICsV7FtcEeVwg5y/LFh3XFUkVJninm/P1j/JHzEbM=",
"owner": "hyprwm",
"repo": "hyprcursor",
"rev": "b62396457b9cfe2ebf24fe05404b09d2a40f8ed7",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprcursor",
"type": "github"
}
},
"hyprgraphics": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1772461523,
"narHash": "sha256-mI6A51do+hEUzeJKk9YSWfVHdI/SEEIBi2tp5Whq5mI=",
"owner": "hyprwm",
"repo": "hyprgraphics",
"rev": "7d63c04b4a2dd5e59ef943b4b143f46e713df804",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprgraphics",
"type": "github"
}
},
"hyprland": {
"inputs": {
"aquamarine": "aquamarine",
"hyprcursor": "hyprcursor_2",
"hyprgraphics": "hyprgraphics",
"hyprland-guiutils": "hyprland-guiutils",
"hyprland-protocols": "hyprland-protocols",
"hyprlang": "hyprlang_2",
"hyprutils": "hyprutils_2",
"hyprwayland-scanner": "hyprwayland-scanner",
"hyprwire": "hyprwire",
"nixpkgs": [
"nixpkgs"
],
"pre-commit-hooks": "pre-commit-hooks",
"systems": "systems_2",
"xdph": "xdph"
},
"locked": {
"lastModified": 1774620536,
"narHash": "sha256-VJQKCMBM+4ZREFlECae/ZpigoHvECRusQ207K/JydCU=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "2c4852e31f1cc974164fdd1bf383a67c26cafe44",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "Hyprland",
"type": "github"
}
},
"hyprland-guiutils": {
"inputs": {
"aquamarine": [
"hyprland",
"aquamarine"
],
"hyprgraphics": [
"hyprland",
"hyprgraphics"
],
"hyprlang": [
"hyprland",
"hyprlang"
],
"hyprtoolkit": "hyprtoolkit",
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1772467975,
"narHash": "sha256-kipyuDBxrZq+beYpZqWzGvFWm4QbayW9agAvi94vDXY=",
"owner": "hyprwm",
"repo": "hyprland-guiutils",
"rev": "5e1c6b9025aaf4d578f3eff7c0eb1f0c197a9507",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-guiutils",
"type": "github"
}
},
"hyprland-plugins": {
"inputs": {
"hyprland": [
"hyprland"
],
"nixpkgs": [
"hyprland-plugins",
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland-plugins",
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1771865848,
"narHash": "sha256-xwNa+1D8WPsDnJtUofDrtyDCZKZotbUymzV/R5s+M0I=",
"owner": "hyprwm",
"repo": "hyprland-plugins",
"rev": "b85a56b9531013c79f2f3846fd6ee2ff014b8960",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-plugins",
"type": "github"
}
},
"hyprland-protocols": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1772460177,
"narHash": "sha256-/6G/MsPvtn7bc4Y32pserBT/Z4SUUdBd4XYJpOEKVR4=",
"owner": "hyprwm",
"repo": "hyprland-protocols",
"rev": "1cb6db5fd6bb8aee419f4457402fa18293ace917",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-protocols",
"type": "github"
}
},
"hyprlang": {
"inputs": {
"hyprutils": "hyprutils",
"nixpkgs": [
"hyprcursor",
"nixpkgs"
],
"systems": [
"hyprcursor",
"systems"
]
},
"locked": {
"lastModified": 1772459629,
"narHash": "sha256-/iwvNUYShmmnwmz/czEUh6+0eF5vCMv0xtDW0STPIuM=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "7615ee388de18239a4ab1400946f3d0e498a8186",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprlang_2": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1772459629,
"narHash": "sha256-/iwvNUYShmmnwmz/czEUh6+0eF5vCMv0xtDW0STPIuM=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "7615ee388de18239a4ab1400946f3d0e498a8186",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprtoolkit": {
"inputs": {
"aquamarine": [
"hyprland",
"hyprland-guiutils",
"aquamarine"
],
"hyprgraphics": [
"hyprland",
"hyprland-guiutils",
"hyprgraphics"
],
"hyprlang": [
"hyprland",
"hyprland-guiutils",
"hyprlang"
],
"hyprutils": [
"hyprland",
"hyprland-guiutils",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprland-guiutils",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"hyprland-guiutils",
"nixpkgs"
],
"systems": [
"hyprland",
"hyprland-guiutils",
"systems"
]
},
"locked": {
"lastModified": 1772462885,
"narHash": "sha256-5pHXrQK9zasMnIo6yME6EOXmWGFMSnCITcfKshhKJ9I=",
"owner": "hyprwm",
"repo": "hyprtoolkit",
"rev": "9af245a69fa6b286b88ddfc340afd288e00a6998",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprtoolkit",
"type": "github"
}
},
"hyprutils": {
"inputs": {
"nixpkgs": [
"hyprcursor",
"hyprlang",
"nixpkgs"
],
"systems": [
"hyprcursor",
"hyprlang",
"systems"
]
},
"locked": {
"lastModified": 1771271487,
"narHash": "sha256-41gEiUS0Pyw3L/ge1l8MXn61cK14VAhgWB/JV8s/oNI=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "340a792e3b3d482c4ae5f66d27a9096bdee6d76d",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprutils",
"type": "github"
}
},
"hyprutils_2": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1774211405,
"narHash": "sha256-6KNwP4ojUzv3YBlZU5BqCpTrWHcix1Jo01BISsTT0xk=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "cb4e152dc72095a2af422956c6b689590572231a",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprutils",
"type": "github"
}
},
"hyprwayland-scanner": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1772459835,
"narHash": "sha256-978jRz/y/9TKmZb/qD4lEYHCQGHpEXGqy+8X2lFZsak=",
"owner": "hyprwm",
"repo": "hyprwayland-scanner",
"rev": "0a692d4a645165eebd65f109146b8861e3a925e7",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprwayland-scanner",
"type": "github"
}
},
"hyprwire": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1773074819,
"narHash": "sha256-qRqYnXiKoJLRTcfaRukn7EifmST2IVBUMZOeZMAc5UA=",
"owner": "hyprwm",
"repo": "hyprwire",
"rev": "f68afd0e73687598cc2774804fedad76693046f0",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprwire",
"type": "github" "type": "github"
} }
}, },
"nixcord": { "nixcord": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat_2",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"nixpkgs": "nixpkgs" "nixpkgs": [
"nixpkgs"
],
"nixpkgs-nixcord": "nixpkgs-nixcord"
}, },
"locked": { "locked": {
"lastModified": 1766917993, "lastModified": 1774628878,
"narHash": "sha256-Hf5T3qQX4hgGQITFSCqsIorMo0FxcI4TsygB1iruUeU=", "narHash": "sha256-21dB8FCl49FLyQhdEvzlK/J0AnLP0HdRGk03BzOANiY=",
"owner": "kaylorben", "owner": "kaylorben",
"repo": "nixcord", "repo": "nixcord",
"rev": "63871baa87897231803d617eab908261caa5907c", "rev": "387c582a215bc7e97a952b764f7eb326fed7ef91",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -151,11 +616,42 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1766201043, "lastModified": 1774386573,
"narHash": "sha256-eplAP+rorKKd0gNjV3rA6+0WMzb1X1i16F5m5pASnjA=", "narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1772328832,
"narHash": "sha256-e+/T/pmEkLP6BHhYjx6GmwP5ivonQQn0bJdH9YrRB+Q=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "c185c7a5e5dd8f9add5b2f8ebeff00888b070742",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-nixcord": {
"locked": {
"lastModified": 1773222311,
"narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b3aad468604d3e488d627c0b43984eb60e75e782", "rev": "0590cd39f728e129122770c029970378a79d076a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -165,81 +661,20 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-lib": {
"locked": {
"lastModified": 1761765539,
"narHash": "sha256-b0yj6kfvO8ApcSE+QmA6mUfu8IYG6/uU28OFn4PaC8M=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "719359f4562934ae99f5443f20aa06c2ffff91fc",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1751949589,
"narHash": "sha256-mgFxAPLWw0Kq+C8P3dRrZrOYEQXOtKuYVlo9xvPntt8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "9b008d60392981ad674e04016d25619281550a9d",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1766653575,
"narHash": "sha256-TPgxCS7+hWc4kPhzkU5dD2M5UuPhLuuaMNZ/IpwKQvI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3c1016e6acd16ad96053116d0d3043029c9e2649",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1766651565,
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_3", "nixpkgs": [
"systems": "systems" "nixpkgs"
],
"systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1766604046, "lastModified": 1774612943,
"narHash": "sha256-9Wvp2G/z0YYMn7oeN/E90pRtXJxQCo7EZrKKkNpwru4=", "narHash": "sha256-hRhq5cpDyBm/ZQyuzI+/YzQEVt35d/M6ko7ADfodw9s=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "48b23bdae0770d86e1d0cb8ed830a0cb58810333", "rev": "2b9f8e1d659d1c7664e1b85ab1620c219672696c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -248,28 +683,76 @@
"type": "github" "type": "github"
} }
}, },
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"hyprland",
"nixpkgs"
]
},
"locked": {
"lastModified": 1774104215,
"narHash": "sha256-EAtviqz0sEAxdHS4crqu7JGR5oI3BwaqG0mw7CmXkO8=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "f799ae951fde0627157f40aec28dec27b22076d0",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"darwin": "darwin", "catppuccin": "catppuccin",
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-homebrew": "nix-homebrew", "hyprcursor": "hyprcursor",
"hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins",
"nixcord": "nixcord", "nixcord": "nixcord",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs",
"nixvim": "nixvim", "nixvim": "nixvim",
"sops-nix": "sops-nix",
"spicetify-nix": "spicetify-nix" "spicetify-nix": "spicetify-nix"
} }
}, },
"sops-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1774303811,
"narHash": "sha256-fhG4JAcLgjKwt+XHbjs8brpWnyKUfU4LikLm3s0Q/ic=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "614e256310e0a4f8a9ccae3fa80c11844fba7042",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "sops-nix",
"type": "github"
}
},
"spicetify-nix": { "spicetify-nix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_4", "nixpkgs": [
"systems": "systems_2" "nixpkgs"
],
"systems": "systems_4"
}, },
"locked": { "locked": {
"lastModified": 1766897356, "lastModified": 1774157037,
"narHash": "sha256-oKp9luuuXuMoUwpGUKUdt0G7lZGovcyOEI3guG0rNCw=", "narHash": "sha256-kJpgEIF0sxMW0vx543m3AwyqptJOxPoOJY1DfJ4jQas=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "6b49c4094e93629af2fcf789e0897450f57e2551", "rev": "2e2234c2932a3aff5f845cda33cb1972a9e889aa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -280,20 +763,35 @@
}, },
"systems": { "systems": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1689347949,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default", "repo": "default-linux",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default", "repo": "default-linux",
"type": "github" "type": "github"
} }
}, },
"systems_2": { "systems_2": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_3": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@@ -307,6 +805,62 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"xdph": {
"inputs": {
"hyprland-protocols": [
"hyprland",
"hyprland-protocols"
],
"hyprlang": [
"hyprland",
"hyprlang"
],
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1773601989,
"narHash": "sha256-2tJf/CQoHApoIudxHeJye+0Ii7scR0Yyi7pNiWk0Hn8=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"rev": "a9b862d1aa000a676d310cc62d249f7ad726233d",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View File

@@ -7,7 +7,7 @@
# declarative Configs # declarative Configs
home-manager = { home-manager = {
url = "github:nix-community/home-manager/main"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
@@ -74,14 +74,18 @@
{ {
# $ nixos-rebuild switch --flake .#<name> # $ nixos-rebuild switch --flake .#<name>
nixosConfigurations."cyper-desktop" = nixpkgs.lib.nixosSystem { nixosConfigurations."cyper-desktop" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ modules = [
{ nixpkgs.hostPlatform = "x86_64-linux"; }
./nixos ./nixos
./hosts/cyper-desktop/configuration.nix ./hosts/cyper-desktop/configuration.nix
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = { inherit inputs primaryUser self; };
home-manager.users.${primaryUser} = import ./home;
}
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
]; ];
specialArgs = { inherit inputs primaryUser; }; specialArgs = { inherit inputs primaryUser self; };
}; };
}; };

View File

@@ -2,6 +2,7 @@
config, config,
primaryUser, primaryUser,
inputs, inputs,
self,
... ...
}: }:
{ {
@@ -12,21 +13,19 @@
./shell.nix ./shell.nix
./xdg.nix ./xdg.nix
inputs.nixvim.homeModules.nixvim
./neovim ./neovim
./python.nix ./python.nix
inputs.nixcord.homeModules.nixcord
./nixcord.nix ./nixcord.nix
inputs.spicetify-nix.homeManagerModules.default
./spicetify.nix ./spicetify.nix
./floorp.nix ./floorp.nix
./obsidian.nix ./obsidian.nix
inputs.catppuccin.homeManagerModules.catppuccin
./desktop ./desktop
inputs.sops-nix.homeManagerModules.sops
]; ];
catppuccin = { catppuccin = {
@@ -36,21 +35,39 @@
home = { home = {
username = primaryUser; username = primaryUser;
stateVersion = "25.11"; stateVersion = "26.05";
sessionVariables = { sessionVariables = {
GROQ_API_KEY = config.sops.secrets.GROQ_API_KEY.path; GROQ_API_KEY = config.sops.secrets.GROQ_API_KEY.path;
OPENWEATHER_API_KEY = config.sops.secrets.OPENWEATHER_API_KEY.path;
}; };
file = { file = {
"Pictures/Avatar" = { "Pictures/Avatar" = {
source = ../assets/avatar; source = "${self}/assets/avatar";
recursive = true; recursive = true;
}; };
"Pictures/Wallpapers" = { "Pictures/Wallpapers" = {
source = ../assets/wallpapers; source = "${self}/assets/wallpapers";
recursive = true; recursive = true;
}; };
}; };
}; };
sops = {
defaultSopsFile = ../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "/home/phil/.config/sops/age/keys.txt";
secrets = {
GROQ_API_KEY = { };
OPENWEATHER_API_KEY = { };
ssh_private_key = {
path = "/home/${primaryUser}/.ssh/ssh";
mode = "0600";
};
};
};
programs.man.enable = false;
} }

View File

@@ -1,6 +1,7 @@
{ pkgs, ... }: { pkgs, inputs, ... }:
{ {
imports = [ imports = [
inputs.catppuccin.homeModules.catppuccin
./hyprland ./hyprland
./rofi ./rofi
./waybar ./waybar

View File

@@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, lib, ... }:
{ {
home.packages = with pkgs; [ catppuccin-papirus-folders ]; home.packages = with pkgs; [ catppuccin-papirus-folders adwaita-icon-theme];
gtk = { gtk = {
enable = true; enable = true;
@@ -17,12 +17,12 @@
iconTheme = { iconTheme = {
name = "Papirus-Dark"; name = "Papirus-Dark";
package = pkgs.papirus-icon-theme; package = lib.mkForce pkgs.catppuccin-papirus-folders; # deactivate and check
}; };
cursorTheme = { cursorTheme = {
name = "catppuccin-mocha-dark"; name = "catppuccin-mocha-dark";
package = pkgs.catppuccin-cursors.mocha-dark; package = pkgs.catppuccin-cursors.mochaDark;
size = 24; size = 24;
}; };

View File

@@ -20,7 +20,7 @@ in
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
catppuccin-cursors.mocha-dark catppuccin-cursors.mochaDark
grim grim
slurp slurp
wl-clipboard wl-clipboard
@@ -43,8 +43,8 @@ in
}; };
plugins = with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}; [ plugins = with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}; [
hyprbars #hyprbars
hyprexpo # hyprexpo
]; ];
settings = { settings = {
@@ -139,24 +139,24 @@ in
]; ];
}; };
layerrule = [ # layerrule = [
"ignorezero,notifications" # "ignorezero,notifications"
"ignorezero,rofi" # "ignorezero,rofi"
]; # ];
dwindle = { dwindle = {
pseudotile = "yes"; pseudotile = "yes";
preserve_split = "yes"; preserve_split = "yes";
}; };
gestures = { # gestures = {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = true; # workspace_swipe = true;
workspace_swipe_fingers = 3; # workspace_swipe_fingers = 3;
workspace_swipe_distance = 300; # workspace_swipe_distance = 300;
workspace_swipe_invert = false; # workspace_swipe_invert = false;
workspace_swipe_cancel_ratio = 0.5; # workspace_swipe_cancel_ratio = 0.5;
}; # };
misc = { misc = {
force_default_wallpaper = 0; force_default_wallpaper = 0;
@@ -170,7 +170,7 @@ in
device = { device = {
name = "usb-optical-mouse-"; name = "usb-optical-mouse-";
sensitivity = -0.5; sensitivity = 0;
}; };
windowrulev2 = [ windowrulev2 = [
@@ -181,15 +181,15 @@ in
"center, class:^(xdg-desktop-portal-gtk)$" "center, class:^(xdg-desktop-portal-gtk)$"
]; ];
windowrule = [ # windowrule = [
"opacity 0.0 override, class:^(xwaylandvideobridge)$" # "opacity 0.0 override, class:^(xwaylandvideobridge)$"
"noanim, class:^(xwaylandvideobridge)$" # "noanim, class:^(xwaylandvideobridge)$"
"noinitialfocus, class:^(xwaylandvideobridge)$" # "noinitialfocus, class:^(xwaylandvideobridge)$"
"maxsize 1 1, class:^(xwaylandvideobridge)$" # "maxsize 1 1, class:^(xwaylandvideobridge)$"
"noblur, class:^(xwaylandvideobridge)$" # "noblur, class:^(xwaylandvideobridge)$"
"nofocus, class:^(xwaylandvideobridge)$" # "nofocus, class:^(xwaylandvideobridge)$"
"noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)" # "noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)"
]; # ];
exec-once = [ exec-once = [
"waybar &" "waybar &"
@@ -265,7 +265,7 @@ in
# Screenshot # Screenshot
''${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')'' ''${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
''${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')'' "${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')"
]; ];
bindl = [ bindl = [

View File

@@ -12,7 +12,6 @@
}; };
extraPortals = [ extraPortals = [
pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-hyprland
]; ];
}; };
} }

View File

@@ -12,7 +12,7 @@
programs.rofi = { programs.rofi = {
enable = true; enable = true;
cycle = true; cycle = true;
package = pkgs.rofi-wayland; package = pkgs.rofi;
font = "FiraCode Nerd Font Mono 12"; font = "FiraCode Nerd Font Mono 12";
location = "center"; location = "center";

View File

@@ -1 +1,175 @@
*{border:none;min-height:10px;font-family:FiraCode Nerd Font;font-size:15px}window#waybar{background:@crust}window#waybar.hidden{opacity:.2}󠀰 #media,#clock,#cpu,#memory,#disk,#temperature,#network,#custom-wallpaper,#media,#custom-weather{color:@crust;margin-top:6px;margin-bottom:6px;padding-left:10px;padding-right:10px;transition:none}#custom-nixicon,#cpu{border-top-left-radius:10px;border-bottom-left-radius:10px;margin-left:5px}#clock,#temperature{border-top-right-radius:10px;border-bottom-right-radius:10px;margin-right:20px}#custom-nixicon{background-image:url(nix-snowflake.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;min-width:24px;min-height:24px;margin-top:6px;margin-bottom:6px;margin-left:15px;padding:0 15px 0 10px}#clock{background:@yellow}#cpu{background:@blue}#memory{background:@red}#disk{background:@peach}#temperature{background:@sky}#network{background:@lavender;padding-right:13px}#workspaces{border-radius:10px;margin:6px 5px;padding:0 6px}#workspaces button{color:@text;background:0 0;border:none;padding:4px;transition:color .3s,text-shadow .3s,transform .3s}#workspaces button.occupied{color:@red}#workspaces button.active{color:@green;text-shadow:0 0 4px @green}#workspaces button:hover{color:@teal;border:none}#media{background:@overlay2;color:@crust;border-radius:10px;margin-left:20px}#custom-cava{color:@green}#wireplumber,#custom-cava,#mpris{margin-left:10px;margin-right:5px}#wireplumber{margin-right:5px}#custom-weather{background:@sky;color:@crust;border-radius:10px;margin-right:20px}#custom-notification{background:@green;border-radius:10px;padding-left:10px;padding-right:5px;font-family:NotoSansMono Nerd Font}#custom-wallpaper{background:@red;color:@mantle;border-radius:10px;margin-left:5px} @import "catppuccin.css";
* {
border: none;
font-family: "FiraCode Nerd Font";
font-size: 15px;
min-height: 10px;
}
window#waybar {
background: @crust;
}
window#waybar.hidden {
opacity: 0.2;
}
󠀰
/* - Genera rules for visible modules -- */
#media,
#clock,
#cpu,
#memory,
#disk,
#temperature,
#network,
#custom-wallpaper,
#media,
#custom-weather {
color: @crust;
margin-top: 6px;
margin-bottom: 6px;
padding-left: 10px;
padding-right: 10px;
transition: none;
}
/* Separation to the left */
#custom-nixicon,
#cpu {
margin-left: 5px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
/* Separation to the rigth */
#clock,
#temperature {
margin-right: 20px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
/* -- Specific styles -- */
#custom-nixicon {
background-image: url("nix-snowflake.svg");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
min-height: 24px;
min-width: 24px;
padding: 0px;
padding-right: 15px;
padding-left: 10px;
margin-top: 6px;
margin-bottom: 6px;
margin-left: 15px;
}
/* Hardware Group */
#clock {
background: @yellow;
}
#cpu {
background: @blue;
}
#memory {
background: @red;
}
#disk {
background: @peach;
}
#temperature {
background: @sky;
}
#network {
background: @lavender;
padding-right: 13px;
}
/* Workspace */
#workspaces {
border-radius: 10px;
margin: 6px 5px;
padding: 0px 6px;
}
#workspaces button {
color: @text;
background: transparent;
padding: 4px 4px;
transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
border: none;
}
#workspaces button.occupied {
color: @red;
}
#workspaces button.active {
color: @green;
text-shadow: 0 0 4px @green;
}
#workspaces button:hover {
color: @teal;
border: none;
}
#workspaces button.active:hover {}
/* Media Group */
#media {
background: @overlay2;
border-radius: 10px;
color: @crust;
margin-left: 20px;
}
#custom-cava {
color: @green;
}
#wireplumber, #custom-cava, #mpris {
margin-left: 10px;
margin-right: 5px;
}
#wireplumber {
margin-right: 5px;
}
/* Weather */
#custom-weather {
background: @sky;
color: @crust;
border-radius: 10px;
margin-right: 20px;
}
/* SwayNC */
#custom-notification {
font-family: "NotoSansMono Nerd Font";
background: @green;
border-radius: 10px;
padding-left: 10px;
padding-right: 5px;
}
/* Wallpaper */
#custom-wallpaper {
background: @red;
color: @mantle;
border-radius: 10px;
margin-left: 5px;
}

View File

@@ -0,0 +1 @@
*{border:none;min-height:10px;font-family:FiraCode Nerd Font;font-size:15px}window#waybar{background:@crust}window#waybar.hidden{opacity:.2}󠀰 #media,#clock,#cpu,#memory,#disk,#temperature,#network,#custom-wallpaper,#media,#custom-weather{color:@crust;margin-top:6px;margin-bottom:6px;padding-left:10px;padding-right:10px;transition:none}#custom-nixicon,#cpu{border-top-left-radius:10px;border-bottom-left-radius:10px;margin-left:5px}#clock,#temperature{border-top-right-radius:10px;border-bottom-right-radius:10px;margin-right:20px}#custom-nixicon{background-image:url(nix-snowflake.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;min-width:24px;min-height:24px;margin-top:6px;margin-bottom:6px;margin-left:15px;padding:0 15px 0 10px}#clock{background:@yellow}#cpu{background:@blue}#memory{background:@red}#disk{background:@peach}#temperature{background:@sky}#network{background:@lavender;padding-right:13px}#workspaces{border-radius:10px;margin:6px 5px;padding:0 6px}#workspaces button{color:@text;background:0 0;border:none;padding:4px;transition:color .3s,text-shadow .3s,transform .3s}#workspaces button.occupied{color:@red}#workspaces button.active{color:@green;text-shadow:0 0 4px @green}#workspaces button:hover{color:@teal;border:none}#media{background:@overlay2;color:@crust;border-radius:10px;margin-left:20px}#custom-cava{color:@green}#wireplumber,#custom-cava,#mpris{margin-left:10px;margin-right:5px}#wireplumber{margin-right:5px}#custom-weather{background:@sky;color:@crust;border-radius:10px;margin-right:20px}#custom-notification{background:@green;border-radius:10px;padding-left:10px;padding-right:5px;font-family:NotoSansMono Nerd Font}#custom-wallpaper{background:@red;color:@mantle;border-radius:10px;margin-left:5px}

View File

@@ -1,173 +0,0 @@
* {
border: none;
font-family: "FiraCode Nerd Font";
font-size: 15px;
min-height: 10px;
}
window#waybar {
background: @crust;
}
window#waybar.hidden {
opacity: 0.2;
}
󠀰
/* - Genera rules for visible modules -- */
#media,
#clock,
#cpu,
#memory,
#disk,
#temperature,
#network,
#custom-wallpaper,
#media,
#custom-weather {
color: @crust;
margin-top: 6px;
margin-bottom: 6px;
padding-left: 10px;
padding-right: 10px;
transition: none;
}
/* Separation to the left */
#custom-nixicon,
#cpu {
margin-left: 5px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
/* Separation to the rigth */
#clock,
#temperature {
margin-right: 20px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
/* -- Specific styles -- */
#custom-nixicon {
background-image: url("nix-snowflake.svg");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
min-height: 24px;
min-width: 24px;
padding: 0px;
padding-right: 15px;
padding-left: 10px;
margin-top: 6px;
margin-bottom: 6px;
margin-left: 15px;
}
/* Hardware Group */
#clock {
background: @yellow;
}
#cpu {
background: @blue;
}
#memory {
background: @red;
}
#disk {
background: @peach;
}
#temperature {
background: @sky;
}
#network {
background: @lavender;
padding-right: 13px;
}
/* Workspace */
#workspaces {
border-radius: 10px;
margin: 6px 5px;
padding: 0px 6px;
}
#workspaces button {
color: @text;
background: transparent;
padding: 4px 4px;
transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
border: none;
}
#workspaces button.occupied {
color: @red;
}
#workspaces button.active {
color: @green;
text-shadow: 0 0 4px @green;
}
#workspaces button:hover {
color: @teal;
border: none;
}
#workspaces button.active:hover {}
/* Media Group */
#media {
background: @overlay2;
border-radius: 10px;
color: @crust;
margin-left: 20px;
}
#custom-cava {
color: @green;
}
#wireplumber, #custom-cava, #mpris {
margin-left: 10px;
margin-right: 5px;
}
#wireplumber {
margin-right: 5px;
}
/* Weather */
#custom-weather {
background: @sky;
color: @crust;
border-radius: 10px;
margin-right: 20px;
}
/* SwayNC */
#custom-notification {
font-family: "NotoSansMono Nerd Font";
background: @green;
border-radius: 10px;
padding-left: 10px;
padding-right: 5px;
}
/* Wallpaper */
#custom-wallpaper {
background: @red;
color: @mantle;
border-radius: 10px;
margin-left: 5px;
}

View File

@@ -4,13 +4,18 @@
... ...
}: }:
{ {
catppuccin.waybar.mode = "createLink";
programs.waybar = { programs.waybar = {
enable = true; enable = true;
package = pkgs.waybar; package = pkgs.waybar;
} }
// (import ./dual.nix { inherit compositor; }); // (import ./dual.nix { inherit compositor; });
home.file.".config/waybar" = { home = {
packages = with pkgs; [ cava ];
file.".config/waybar" = {
source = ./configs; source = ./configs;
recursive = true; recursive = true;
}; };
};
} }

View File

@@ -3,7 +3,7 @@
}: }:
let let
common = import ./common.nix; common = import ./common.nix;
wm = if compositor == "hyprland" then import ./hyprland.wm.nix else import ./niri-wm.nix; wm = if compositor == "hyprland" then import ./hyprland-wm.nix else import ./niri-wm.nix;
in in
{ {
enable = true; enable = true;

View File

@@ -8,20 +8,20 @@
programs.git = { programs.git = {
enable = true; enable = true;
userName = "DerGrumpf"; # TODO replace settings = {
userEmail = "p.keier@beyerstedt-it.de"; # TODO replace
lfs.enable = true;
ignores = [ "**/.DS_STORE" ];
extraConfig = {
github = { github = {
user = primaryUser; user = primaryUser;
}; };
init = { init = {
defaultBranch = "main"; defaultBranch = "main";
}; };
user = {
name = "DerGrumpf"; # TODO replace
email = "p.keier@beyerstedt-it.de"; # TODO replace
}; };
}; };
lfs.enable = true;
ignores = [ "**/.DS_STORE" ];
};
} }

View File

@@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }:
{
# Conform: Code formatter that runs external formatting tools # Conform: Code formatter that runs external formatting tools
# Automatically formats code on save for consistent style. # Automatically formats code on save for consistent style.
programs.nixvim = { programs.nixvim = {
@@ -24,7 +25,7 @@
# Install formatters # Install formatters
extraPackages = with pkgs; [ extraPackages = with pkgs; [
stylua stylua
nixfmt-classic nixfmt
black black
rustfmt rustfmt
prettierd prettierd

View File

@@ -1,6 +1,7 @@
{ pkgs, ... }: { pkgs, inputs, ... }:
{ {
imports = [ imports = [
inputs.nixvim.homeModules.nixvim
./treesitter.nix ./treesitter.nix
./lint.nix ./lint.nix
./lsp.nix ./lsp.nix
@@ -21,7 +22,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
nil nil
biome biome
nixfmt-rfc-style
]; ];
programs.nixvim = { programs.nixvim = {

View File

@@ -85,7 +85,7 @@
lua-language-server lua-language-server
nil nil
rust-analyzer rust-analyzer
python311Packages.python-lsp-server python314Packages.python-lsp-server
]; ];
}; };
} }

View File

@@ -1,4 +1,9 @@
{ lib, ... }: { { lib, inputs, ... }:
{
imports = [
inputs.nixcord.homeModules.nixcord
];
programs.nixcord = { programs.nixcord = {
enable = true; enable = true;
discord = lib.mkForce { enable = false; }; discord = lib.mkForce { enable = false; };

View File

@@ -33,7 +33,7 @@
fstl fstl
nautilus nautilus
swayimg swayimg
okular kdePackages.okular
gnumeric gnumeric
sqlitebrowser sqlitebrowser
thunderbird thunderbird

View File

@@ -1,17 +1,20 @@
{ pkgs, ... }: { { pkgs, ... }:
{
home.packages = with pkgs; [ home.packages = with pkgs; [
# Python 3.13 (newest stable) # Python 3.13 (newest stable)
python313 python314
python313Packages.pip python314Packages.pip
python313Packages.virtualenv python314Packages.virtualenv
# Additional useful tools # Additional useful tools
python313Packages.pipx # Install Python apps in isolated environments python314Packages.pipx # Install Python apps in isolated environments
uv # Fast Python package installer (alternative to pip) uv # Fast Python package installer (alternative to pip)
]; ];
# Set up default Python version # Set up default Python version
home.sessionVariables = { PYTHON = "${pkgs.python313}/bin/python3"; }; home.sessionVariables = {
PYTHON = "${pkgs.python313}/bin/python3";
};
# Shell aliases for convenience # Shell aliases for convenience
programs.zsh.shellAliases = { programs.zsh.shellAliases = {

View File

@@ -10,7 +10,8 @@
tabiew # Table viewer tabiew # Table viewer
glow # MD Viewer glow # MD Viewer
llm # LLM in the Terminal # LLM in the Terminal
llm
# Fun stuff # Fun stuff
zoxide zoxide
@@ -24,7 +25,7 @@
font = { font = {
name = "Fira Code Nerd Font"; name = "Fira Code Nerd Font";
size = 12; size = 10;
}; };
settings = { settings = {
@@ -97,13 +98,6 @@
i = "kitty +kitten icat"; i = "kitty +kitten icat";
"nix-switch" = "sudo darwin-rebuild switch --flake ~/.config/nix#cyper-mac"; "nix-switch" = "sudo darwin-rebuild switch --flake ~/.config/nix#cyper-mac";
}; };
initContent = ''
fastfetch
ai() {
llm -m groq/groq/compound "$@" | glow
}
'';
}; };
programs.fish = { programs.fish = {
@@ -124,12 +118,6 @@
fastfetch fastfetch
end end
''; '';
functions.ai = {
body = ''
llm -m groq/groq/compound $argv | glow
'';
};
}; };
programs.starship = { programs.starship = {

View File

@@ -1,7 +1,14 @@
{ pkgs, inputs, ... }: { { pkgs, inputs, ... }:
{
imports = [
inputs.spicetify-nix.homeManagerModules.default
];
programs.spicetify = programs.spicetify =
let spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; let
in { spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in
{
enable = true; enable = true;
spotifyPackage = pkgs.spotify; spotifyPackage = pkgs.spotify;
theme = spicePkgs.themes.catppuccin; theme = spicePkgs.themes.catppuccin;

View File

@@ -28,4 +28,6 @@
}; };
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
system.stateVersion = "26.05";
} }

View File

@@ -5,10 +5,9 @@
alsa = { alsa = {
enable = true; enable = true;
support32Bit = true; support32Bit = true;
pulse.enable = true;
#jack.enable = true; # audio production
}; };
#jack.enable = true; # audio production
pulse.enable = true;
}; };
security.rtkit.enable = true; security.rtkit.enable = true;
} }

View File

@@ -49,7 +49,7 @@
documentation = { documentation = {
enable = true; enable = true;
doc.enable = false; # Skip large documentation doc.enable = false; # Skip large documentation
man.enable = true; # Keep man pages man.enable = false; # Keep man pages
info.enable = false; # Skip info pages info.enable = false; # Skip info pages
}; };
@@ -63,6 +63,7 @@
users.${primaryUser} = { users.${primaryUser} = {
imports = [ ../home ]; imports = [ ../home ];
}; };
backupFileExtension = "backup";
extraSpecialArgs = { inherit inputs primaryUser; }; extraSpecialArgs = { inherit inputs primaryUser; };
}; };

View File

@@ -5,7 +5,7 @@
SUBSYSTEM=="usb", \ SUBSYSTEM=="usb", \
ATTR{idVendor}=="04a9", \ ATTR{idVendor}=="04a9", \
ATTR{idProduct}=="31ea", \ ATTR{idProduct}=="31ea", \
RUN+="systemctl restart webcam" RUN+="${pkgs.systemd}/bin/systemctl restart webcam"
''; '';
systemd.services.webcam = { systemd.services.webcam = {