Compare commits
1 commit
main
...
fix-mcuxpr
Author | SHA1 | Date | |
---|---|---|---|
746f658c95 |
30 changed files with 166 additions and 423 deletions
|
@ -1,4 +1,4 @@
|
||||||
# ❄️ flocon
|
# ❄️ nix
|
||||||
|
|
||||||
My NixOS configurations, using flakes.
|
My NixOS configurations, using flakes.
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@ Additionally using a lot of other software you can find in the configuration fil
|
||||||
| [hosts](hosts/) | Host-specific |
|
| [hosts](hosts/) | Host-specific |
|
||||||
| [lib](lib/) | Helper functions |
|
| [lib](lib/) | Helper functions |
|
||||||
| [modules](modules/) | NixOS modules |
|
| [modules](modules/) | NixOS modules |
|
||||||
| [pkgs](pkgs/) | Custom packages |
|
|
||||||
| [system](system/) | NixOS configuration |
|
| [system](system/) | NixOS configuration |
|
||||||
|
|
||||||
My configuration is structured based on the following principles:
|
My configuration is structured based on the following principles:
|
||||||
|
|
124
flake.lock
124
flake.lock
|
@ -134,11 +134,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1730865784,
|
"lastModified": 1730013417,
|
||||||
"narHash": "sha256-6kJYNjVCyf1tYgpqm7QOYcMkkD/RsaSfrsC2+ojmFAI=",
|
"narHash": "sha256-nZ6ylS3/FAjsi9wwdZJpzIV0+bgJDAurZAi0w9q1Nxw=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "b8d22442e09a02eb8b830d41726ac371be21b7cd",
|
"rev": "e9ec8d2766bbe4d242c9255247197372ac64f885",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -240,11 +240,11 @@
|
||||||
"nixpkgs-lib": "nixpkgs-lib_2"
|
"nixpkgs-lib": "nixpkgs-lib_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730504689,
|
"lastModified": 1727826117,
|
||||||
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
|
"narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
|
"rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -327,11 +327,11 @@
|
||||||
"systems": "systems_8"
|
"systems": "systems_8"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726560853,
|
"lastModified": 1710146030,
|
||||||
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
|
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -424,11 +424,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730837930,
|
"lastModified": 1730016908,
|
||||||
"narHash": "sha256-0kZL4m+bKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc=",
|
"narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "2f607e07f3ac7e53541120536708e824acccfaa8",
|
"rev": "e83414058edd339148dc142a8437edb9450574c8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -555,11 +555,11 @@
|
||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730875971,
|
"lastModified": 1730021052,
|
||||||
"narHash": "sha256-VpTY0Urm0tebIndEP3qCsfAEjh8IB0d9j7XRZkNLRrw=",
|
"narHash": "sha256-AnCitOqPs+gCGEUKl2lBX2cfd59aUKOz592Bs2pAw1A=",
|
||||||
"owner": "sodiboo",
|
"owner": "sodiboo",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "563b10c27839d0b08353d4cd3563e0f9beb3468d",
|
"rev": "ac40d2eb544d4e3a4d601a265533ecdf0e946305",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -588,11 +588,11 @@
|
||||||
"niri-unstable": {
|
"niri-unstable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730871742,
|
"lastModified": 1729744939,
|
||||||
"narHash": "sha256-wK7UD90LxLr8oELIYPhUS6+IPU32JGESaHd/tny5/ig=",
|
"narHash": "sha256-QbfaNQa93yt4KKg5XNi1tUIfGoDIohxFp/PmHi8sruU=",
|
||||||
"owner": "YaLTeR",
|
"owner": "YaLTeR",
|
||||||
"repo": "niri",
|
"repo": "niri",
|
||||||
"rev": "8867a4f84c4bd07235abd37828b0d724321facbe",
|
"rev": "c8044a9b5dbdb3e0648c86a00bfb63acfc06a559",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -608,11 +608,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730604744,
|
"lastModified": 1729999765,
|
||||||
"narHash": "sha256-/MK6QU4iOozJ4oHTfZipGtOgaT/uy/Jm4foCqHQeYR4=",
|
"narHash": "sha256-LYsavZXitFjjyETZoij8usXjTa7fa9AIF3Sk3MJSX+Y=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "cc2ddbf2df8ef7cc933543b1b42b845ee4772318",
|
"rev": "0e3a8778c2ee218eff8de6aacf3d2fa6c33b2d4f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -623,11 +623,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730886862,
|
"lastModified": 1729742320,
|
||||||
"narHash": "sha256-wCZtRGM1NGxq6VG4+TMzfsa4cuG2VJVtowtYuWW5W3g=",
|
"narHash": "sha256-u3Of8xRkN//me8PU+RucKA59/6RNy4B2jcGAF36P4jI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "90642a0deae927fa911d49d4f7c5616257105141",
|
"rev": "e8a2f6d5513fe7b7d15701b2d05404ffdc3b6dda",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -666,14 +666,14 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-lib_2": {
|
"nixpkgs-lib_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730504152,
|
"lastModified": 1727825735,
|
||||||
"narHash": "sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s=",
|
"narHash": "sha256-0xHYkMkeLVQAMa7gvkddbPqpxph+hDzdu1XdGPJR+Os=",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
|
"url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
|
"url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-lib_3": {
|
"nixpkgs-lib_3": {
|
||||||
|
@ -706,11 +706,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable_2": {
|
"nixpkgs-stable_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730741070,
|
"lastModified": 1729973466,
|
||||||
"narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=",
|
"narHash": "sha256-knnVBGfTCZlQgxY1SgH0vn2OyehH9ykfF8geZgS95bk=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d063c1dd113c91ab27959ba540c0d9753409edf3",
|
"rev": "cd3e8833d70618c4eea8df06f95b364b016d4950",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -754,11 +754,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730785428,
|
"lastModified": 1729880355,
|
||||||
"narHash": "sha256-Zwl8YgTVJTEum+L+0zVAWvXAGbWAuXHax3KzuejaDyo=",
|
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4aa36568d413aca0ea84a1684d2d46f55dbabad7",
|
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -770,11 +770,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730785428,
|
"lastModified": 1729880355,
|
||||||
"narHash": "sha256-Zwl8YgTVJTEum+L+0zVAWvXAGbWAuXHax3KzuejaDyo=",
|
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4aa36568d413aca0ea84a1684d2d46f55dbabad7",
|
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -977,11 +977,11 @@
|
||||||
"systems": "systems_6"
|
"systems": "systems_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730289819,
|
"lastModified": 1728378979,
|
||||||
"narHash": "sha256-GYEgdCLzNODbMNEeYbMa5EWgEwTEMxdSSPTz8uEwZdQ=",
|
"narHash": "sha256-CW/5Cs9m8HupL+6iRMpdHE88OmK9MXH2h3BcXCQw440=",
|
||||||
"owner": "notashelf",
|
"owner": "notashelf",
|
||||||
"repo": "nvf",
|
"repo": "nvf",
|
||||||
"rev": "8ff50562d7203a2b87bc6409e806f13b115d6b48",
|
"rev": "0947ab38c0bc79780eec599161306157b8de74a3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1000,11 +1000,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730635861,
|
"lastModified": 1729710171,
|
||||||
"narHash": "sha256-Npp3pl9aeAiq+wZPDbw2ZxybNuZWyuN7AY6fik56DCo=",
|
"narHash": "sha256-2sVt2hbL+G0FzEESm/EZBewPOmNtZ6MTnYhsvHJW6Rs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "plasma-manager",
|
"repo": "plasma-manager",
|
||||||
"rev": "293668587937daae1df085ee36d2b2d0792b7a0f",
|
"rev": "247a8e677b51f053ca89dcf67059e24f85e47391",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -2635,11 +2635,11 @@
|
||||||
"nixpkgs": "nixpkgs_8"
|
"nixpkgs": "nixpkgs_8"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730891412,
|
"lastModified": 1730026346,
|
||||||
"narHash": "sha256-EEXp1jQMoA7off1ioqB5aJM1a5ZfGS6KQVsYSZ/ub78=",
|
"narHash": "sha256-MUcE2ccqegmpBCHZMpqjBbBkqL+jAJ2dFjPfdtQh7B4=",
|
||||||
"owner": "nezia1",
|
"owner": "nezia1",
|
||||||
"repo": "portfolio",
|
"repo": "portfolio",
|
||||||
"rev": "082cc68c67deead967bf177d048995c6a27ef84e",
|
"rev": "0fbb087b837066ab916798a8ac5b51b5f3d25a59",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -2776,11 +2776,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729477859,
|
"lastModified": 1726280639,
|
||||||
"narHash": "sha256-r0VyeJxy4O4CgTB/PNtfQft9fPfN1VuGvnZiCxDArvg=",
|
"narHash": "sha256-YfLRPlFZWrT2oRLNAoqf7G3+NnUTDdlIJk6tmBU7kXM=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "ada8266712449c4c0e6ee6fcbc442b3c217c79e1",
|
"rev": "e9f8641c92f26fd1e076e705edb12147c384171d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -2914,11 +2914,11 @@
|
||||||
"nixpkgs": "nixpkgs_9"
|
"nixpkgs": "nixpkgs_9"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730321837,
|
"lastModified": 1730025913,
|
||||||
"narHash": "sha256-vK+a09qq19QNu2MlLcvN4qcRctJbqWkX7ahgPZ/+maI=",
|
"narHash": "sha256-Y9NtFmP8ciLyRsopcCx1tyoaaStKeq+EndwtGCgww7I=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "746901bb8dba96d154b66492a29f5db0693dbfcc",
|
"rev": "bae131e525cc8718da22fbeb8d8c7c43c4ea502a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -2974,11 +2974,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "nix",
|
"dir": "nix",
|
||||||
"lastModified": 1730734444,
|
"lastModified": 1729006311,
|
||||||
"narHash": "sha256-lNgCAphrq3/bYGjgDxEl2rVcer6GnmfWXDhxc+kdYOk=",
|
"narHash": "sha256-1xtKJHu6CFnOhp4snof+WSTwcdPgwIaD6mBODP/cv3w=",
|
||||||
"owner": "wez",
|
"owner": "wez",
|
||||||
"repo": "wezterm",
|
"repo": "wezterm",
|
||||||
"rev": "51c794ac500a2033b9dc570c71810518bfa667a9",
|
"rev": "9ddca7bde92090792dbcdc65c1e9897c362196d7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -2992,16 +2992,16 @@
|
||||||
"xwayland-satellite-stable": {
|
"xwayland-satellite-stable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730166465,
|
"lastModified": 1718165778,
|
||||||
"narHash": "sha256-nq7bouXQXaaPPo/E+Jbq+wNHnatD4dY8OxSrRqzvy6s=",
|
"narHash": "sha256-dwF9nI54a6Fo9XU5s4qmvMXSgCid3YQVGxch00qEMvI=",
|
||||||
"owner": "Supreeeme",
|
"owner": "Supreeeme",
|
||||||
"repo": "xwayland-satellite",
|
"repo": "xwayland-satellite",
|
||||||
"rev": "a713cf46cb7db84a0d1b57c3a397c610cad3cf98",
|
"rev": "b6d281967cb0b7bf1dfdb8d0f597b517dc4aa5c5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "Supreeeme",
|
"owner": "Supreeeme",
|
||||||
"ref": "v0.5",
|
"ref": "v0.4",
|
||||||
"repo": "xwayland-satellite",
|
"repo": "xwayland-satellite",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -3009,11 +3009,11 @@
|
||||||
"xwayland-satellite-unstable": {
|
"xwayland-satellite-unstable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730258684,
|
"lastModified": 1729838433,
|
||||||
"narHash": "sha256-E+69sdxUhPSNI8+JlTL6KKbNv5qVD3L1y8hdVO37A44=",
|
"narHash": "sha256-o9D859STqawTSe6mkXpm3xR/gitYgOHy32xOhOfT3vw=",
|
||||||
"owner": "Supreeeme",
|
"owner": "Supreeeme",
|
||||||
"repo": "xwayland-satellite",
|
"repo": "xwayland-satellite",
|
||||||
"rev": "b0ee6db9fa9901c675b3c7e952c2a8ce987a0f58",
|
"rev": "67efa2c559b53d3ca90c131c06c247278783880d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -25,11 +25,8 @@
|
||||||
});
|
});
|
||||||
formatter = eachSystem (pkgs: treefmtEval.${pkgs.system}.config.build.wrapper);
|
formatter = eachSystem (pkgs: treefmtEval.${pkgs.system}.config.build.wrapper);
|
||||||
nixosModules = import ./modules;
|
nixosModules = import ./modules;
|
||||||
nixosConfigurations = let
|
nixosConfigurations = import ./hosts {inherit self inputs;};
|
||||||
lib' = import ./lib {inherit inputs lib';};
|
packages = eachSystem (pkgs: import ./pkgs pkgs);
|
||||||
in
|
|
||||||
import ./hosts {inherit inputs lib';};
|
|
||||||
packages = eachSystem (pkgs: import ./pkgs {inherit inputs pkgs;});
|
|
||||||
deploy.nodes = import ./nodes {inherit self inputs;};
|
deploy.nodes = import ./nodes {inherit self inputs;};
|
||||||
};
|
};
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./browsers
|
./browsers
|
||||||
./media
|
./media
|
||||||
|
@ -35,9 +39,9 @@
|
||||||
nautilus
|
nautilus
|
||||||
simple-scan
|
simple-scan
|
||||||
entr
|
entr
|
||||||
# inputs.self.packages.${pkgs.system}.mcuxpresso.ide
|
inputs.self.packages.${pkgs.system}.mcuxpresso.ide
|
||||||
# dfu-util
|
dfu-util
|
||||||
# segger-jlink
|
segger-jlink
|
||||||
# inputs.self.packages.${pkgs.system}.mcuxpresso.config-tools
|
# inputs.self.packages.${pkgs.system}.mcuxpresso.config-tools
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
inherit (lib) getExe;
|
||||||
|
in {
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -1,21 +1,15 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
home.packages = with pkgs; [
|
||||||
inputs,
|
bottles
|
||||||
...
|
lutris
|
||||||
}: {
|
mangohud
|
||||||
home.packages = [
|
path-of-building
|
||||||
pkgs.bottles
|
protonplus
|
||||||
pkgs.lutris
|
r2modman
|
||||||
pkgs.mangohud
|
|
||||||
pkgs.path-of-building
|
|
||||||
pkgs.protonplus
|
|
||||||
pkgs.r2modman
|
|
||||||
|
|
||||||
# steamtinkerlaunch dependencies
|
# steamtinkerlaunch dependencies
|
||||||
pkgs.xdotool
|
xdotool
|
||||||
pkgs.xorg.xwininfo
|
xorg.xwininfo
|
||||||
pkgs.yad
|
yad
|
||||||
|
|
||||||
inputs.self.packages.${pkgs.system}.bolt-launcher
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
_: {
|
||||||
services.udiskie.enable = true;
|
services.udiskie.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
config,
|
config,
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
_: {
|
||||||
programs.wezterm = {
|
programs.wezterm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = inputs.wezterm.packages.${pkgs.system}.default;
|
# package = inputs.wezterm.packages.${pkgs.system}.default;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
_: {
|
||||||
programs = {
|
programs = {
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
_: {
|
||||||
programs.zellij = {
|
programs.zellij = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -14,10 +14,6 @@
|
||||||
name = "fzf";
|
name = "fzf";
|
||||||
inherit (pkgs.fishPlugins.fzf) src;
|
inherit (pkgs.fishPlugins.fzf) src;
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name = "autopair";
|
|
||||||
inherit (pkgs.fishPlugins.autopair) src;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
_: {
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableTransience = true;
|
enableTransience = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
_: {
|
||||||
programs.zoxide = {
|
programs.zoxide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = false;
|
enableBashIntegration = false;
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{modulesPath, ...}: {
|
{modulesPath, ...}: {
|
||||||
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
||||||
boot = {
|
boot.loader.grub.device = "/dev/sda";
|
||||||
loader.grub.device = "/dev/sda";
|
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
|
||||||
initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
|
boot.initrd.kernelModules = ["nvme"];
|
||||||
initrd.kernelModules = ["nvme"];
|
|
||||||
};
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/sda1";
|
device = "/dev/sda1";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
|
|
@ -1,31 +1,37 @@
|
||||||
{
|
{
|
||||||
|
self,
|
||||||
inputs,
|
inputs,
|
||||||
lib',
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib') mkSystem;
|
inherit (inputs.nixpkgs.lib) nixosSystem;
|
||||||
|
specialArgs = {
|
||||||
|
inherit inputs self;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
vamos = mkSystem {
|
vamos = nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
inherit specialArgs;
|
||||||
modules = [
|
modules = [
|
||||||
./vamos
|
./vamos
|
||||||
|
|
||||||
inputs.self.nixosModules.theme
|
self.nixosModules.theme
|
||||||
|
|
||||||
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
|
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
solaire = mkSystem {
|
solaire = nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
inherit specialArgs;
|
||||||
modules = [
|
modules = [
|
||||||
./solaire
|
./solaire
|
||||||
inputs.self.nixosModules.theme
|
self.nixosModules.theme
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
anastacia = mkSystem {
|
anastacia = nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
inherit specialArgs;
|
||||||
modules = [
|
modules = [
|
||||||
./anastacia
|
./anastacia
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,25 +1,28 @@
|
||||||
{specialArgs, ...}: let
|
{
|
||||||
system = ../../system;
|
self,
|
||||||
home = ../../home;
|
specialArgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
mod = "${self}/system";
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules
|
./modules
|
||||||
|
|
||||||
system
|
"${mod}"
|
||||||
"${system}/hardware/uni-sync.nix"
|
"${mod}/hardware/uni-sync.nix"
|
||||||
|
|
||||||
"${system}/programs/gnome.nix"
|
"${mod}/programs/gnome.nix"
|
||||||
"${system}/programs/games.nix"
|
"${mod}/programs/games.nix"
|
||||||
"${system}/hardware/nvidia.nix"
|
"${mod}/hardware/nvidia.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
users.nezia.imports = [
|
users.nezia.imports = [
|
||||||
home
|
"${self}/home"
|
||||||
"${home}/programs/games"
|
"${self}/home/programs/games"
|
||||||
|
|
||||||
"${home}/terminal/emulators/foot.nix"
|
"${self}/home/terminal/emulators/foot.nix"
|
||||||
];
|
];
|
||||||
extraSpecialArgs = specialArgs;
|
extraSpecialArgs = specialArgs;
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,10 +15,10 @@ in {
|
||||||
"${mod}/hardware/fprintd.nix"
|
"${mod}/hardware/fprintd.nix"
|
||||||
"${mod}/services/power.nix"
|
"${mod}/services/power.nix"
|
||||||
"${mod}/services/brightness.nix"
|
"${mod}/services/brightness.nix"
|
||||||
|
"${mod}/services/keyd.nix"
|
||||||
|
|
||||||
"${mod}/services/logind.nix"
|
"${mod}/services/logind.nix"
|
||||||
"${mod}/services/greetd.nix"
|
"${mod}/services/greetd.nix"
|
||||||
"${mod}/services/kanata.nix"
|
|
||||||
|
|
||||||
"${mod}/programs/niri"
|
"${mod}/programs/niri"
|
||||||
"${mod}/services/gnome.nix"
|
"${mod}/services/gnome.nix"
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{
|
{
|
||||||
inputs,
|
pkgs,
|
||||||
lib',
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (inputs.nixpkgs) lib;
|
|
||||||
# convert rrggbb hex to rgba(r, g, b, a)
|
# convert rrggbb hex to rgba(r, g, b, a)
|
||||||
rgba = c: let
|
rgba = c: let
|
||||||
r = toString (hexToDec (builtins.substring 0 2 c));
|
r = toString (hexToDec (builtins.substring 0 2 c));
|
||||||
|
@ -87,25 +86,8 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Create a KDE konsole color scheme from base16 colors
|
# Create a KDE konsole color scheme from base16 colors
|
||||||
mkKonsoleColorScheme = pkgs: scheme:
|
mkKonsoleColorScheme = scheme:
|
||||||
pkgs.writeText "${scheme.name}.colorscheme" (schemeToKonsole scheme);
|
pkgs.writeText "${scheme.name}.colorscheme" (schemeToKonsole scheme);
|
||||||
|
|
||||||
# https://github.com/diniamo/niqs/blob/caf396bb470619fa06936a379eec6e283c3c3d95/lib/default.nix#L13-L35C7
|
|
||||||
mkSystem = {system, ...} @ args:
|
|
||||||
lib.nixosSystem {
|
|
||||||
system = null;
|
|
||||||
specialArgs = {inherit inputs;};
|
|
||||||
modules =
|
|
||||||
[
|
|
||||||
{
|
|
||||||
_module.args = {
|
|
||||||
inherit system lib';
|
|
||||||
};
|
|
||||||
nixpkgs = {inherit system;};
|
|
||||||
}
|
|
||||||
]
|
|
||||||
++ args.modules or [];
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
inherit mkKonsoleColorScheme rgba mkSystem;
|
inherit mkKonsoleColorScheme rgba;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,208 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
stdenv,
|
|
||||||
fetchFromGitHub,
|
|
||||||
makeWrapper,
|
|
||||||
cmake,
|
|
||||||
ninja,
|
|
||||||
libarchive,
|
|
||||||
libz,
|
|
||||||
jdk17,
|
|
||||||
libcef,
|
|
||||||
luajit,
|
|
||||||
xorg,
|
|
||||||
mesa,
|
|
||||||
glib,
|
|
||||||
nss,
|
|
||||||
nspr,
|
|
||||||
atk,
|
|
||||||
at-spi2-atk,
|
|
||||||
libdrm,
|
|
||||||
expat,
|
|
||||||
libxkbcommon,
|
|
||||||
gtk3,
|
|
||||||
pango,
|
|
||||||
cairo,
|
|
||||||
alsa-lib,
|
|
||||||
dbus,
|
|
||||||
at-spi2-core,
|
|
||||||
cups,
|
|
||||||
systemd,
|
|
||||||
buildFHSEnv,
|
|
||||||
copyDesktopItems,
|
|
||||||
makeDesktopItem,
|
|
||||||
}: let
|
|
||||||
cef = libcef.overrideAttrs (_: {
|
|
||||||
installPhase = let
|
|
||||||
gl_rpath = lib.makeLibraryPath [
|
|
||||||
stdenv.cc.cc.lib
|
|
||||||
];
|
|
||||||
rpath = lib.makeLibraryPath [
|
|
||||||
glib
|
|
||||||
nss
|
|
||||||
nspr
|
|
||||||
atk
|
|
||||||
at-spi2-atk
|
|
||||||
libdrm
|
|
||||||
expat
|
|
||||||
xorg.libxcb
|
|
||||||
libxkbcommon
|
|
||||||
xorg.libX11
|
|
||||||
xorg.libXcomposite
|
|
||||||
xorg.libXdamage
|
|
||||||
xorg.libXext
|
|
||||||
xorg.libXfixes
|
|
||||||
xorg.libXrandr
|
|
||||||
mesa
|
|
||||||
gtk3
|
|
||||||
pango
|
|
||||||
cairo
|
|
||||||
alsa-lib
|
|
||||||
dbus
|
|
||||||
at-spi2-core
|
|
||||||
cups
|
|
||||||
xorg.libxshmfence
|
|
||||||
systemd
|
|
||||||
];
|
|
||||||
in ''
|
|
||||||
mkdir -p $out/lib/ $out/share/cef/
|
|
||||||
cp libcef_dll_wrapper/libcef_dll_wrapper.a $out/lib/
|
|
||||||
cp -r ../Resources/* $out/lib/
|
|
||||||
cp -r ../Release/* $out/lib/
|
|
||||||
patchelf --set-rpath "${rpath}" $out/lib/libcef.so
|
|
||||||
patchelf --set-rpath "${gl_rpath}" $out/lib/libEGL.so
|
|
||||||
patchelf --set-rpath "${gl_rpath}" $out/lib/libGLESv2.so
|
|
||||||
cp ../Release/*.bin $out/share/cef/
|
|
||||||
cp -r ../Resources/* $out/share/cef/
|
|
||||||
cp -r ../include $out
|
|
||||||
cp -r ../libcef_dll $out
|
|
||||||
cp -r ../cmake $out
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
|
|
||||||
bolt = stdenv.mkDerivation (finalAttrs: {
|
|
||||||
pname = "bolt-launcher";
|
|
||||||
version = "0.10.0";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "AdamCake";
|
|
||||||
repo = "bolt";
|
|
||||||
rev = finalAttrs.version;
|
|
||||||
fetchSubmodules = true;
|
|
||||||
hash = "sha256-2IoFzD+yhQv1Y7D+abeNUT23BC4P1xZTALF8Y+Zsg44=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
cmake
|
|
||||||
ninja
|
|
||||||
luajit
|
|
||||||
makeWrapper
|
|
||||||
copyDesktopItems
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
mesa
|
|
||||||
xorg.libX11
|
|
||||||
xorg.libxcb
|
|
||||||
libarchive
|
|
||||||
libz
|
|
||||||
cef
|
|
||||||
jdk17
|
|
||||||
];
|
|
||||||
|
|
||||||
desktopItems = [
|
|
||||||
(makeDesktopItem {
|
|
||||||
inherit (bolt) name;
|
|
||||||
desktopName = "Bolt Launcher";
|
|
||||||
keywords = [
|
|
||||||
"Game"
|
|
||||||
];
|
|
||||||
exec = "${bolt.name}";
|
|
||||||
terminal = false;
|
|
||||||
categories = ["Game"];
|
|
||||||
icon = "bolt-launcher";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [
|
|
||||||
"-D CMAKE_BUILD_TYPE=Release"
|
|
||||||
"-D BOLT_LUAJIT_INCLUDE_DIR=${luajit}/include"
|
|
||||||
"-G Ninja"
|
|
||||||
];
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
ls -al
|
|
||||||
mkdir -p cef/dist/Release cef/dist/Resources cef/dist/include
|
|
||||||
|
|
||||||
ln -s ${cef}/lib/* cef/dist/Release
|
|
||||||
|
|
||||||
ln -s ${cef}/share/cef/*.pak cef/dist/Resources
|
|
||||||
ln -s ${cef}/share/cef/icudtl.dat cef/dist/Resources
|
|
||||||
ln -s ${cef}/share/cef/locales cef/dist/Resources
|
|
||||||
|
|
||||||
ln -s ${cef}/include/* cef/dist/include
|
|
||||||
ln -s ${cef}/libcef_dll cef/dist/libcef_dll
|
|
||||||
|
|
||||||
ln -s ${cef}/cmake cef/dist/cmake
|
|
||||||
ln -s ${cef}/CMakeLists.txt cef/dist
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
for size in 16 32 64 128 256; do
|
|
||||||
size_dir="''${size}x''${size}"
|
|
||||||
ls -al $src/icon
|
|
||||||
mkdir -p $out/share/icons/hicolor/''${size_dir}/apps
|
|
||||||
cp $src/icon/$size.png $out/share/icons/hicolor/''${size_dir}/apps/bolt-launcher.png
|
|
||||||
done
|
|
||||||
mkdir -p $out/share/icons/hicolor/scalable/apps/
|
|
||||||
cp $src/icon/bolt.svg $out/share/icons/hicolor/scalable/apps/bolt-launcher.svg
|
|
||||||
'';
|
|
||||||
postFixup = ''
|
|
||||||
makeWrapper "$out/opt/bolt-launcher/bolt" "$out/bin/${finalAttrs.pname}-${finalAttrs.version}" \
|
|
||||||
--set JAVA_HOME "${jdk17}"
|
|
||||||
ls -al $out/bin
|
|
||||||
mkdir -p $out/lib
|
|
||||||
cp $out/usr/local/lib/libbolt-plugin.so $out/lib
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
in
|
|
||||||
buildFHSEnv {
|
|
||||||
inherit (bolt) name version;
|
|
||||||
|
|
||||||
targetPkgs = pkgs:
|
|
||||||
[bolt]
|
|
||||||
++ (with pkgs; [
|
|
||||||
xorg.libSM
|
|
||||||
xorg.libXxf86vm
|
|
||||||
xorg.libX11
|
|
||||||
glib
|
|
||||||
pango
|
|
||||||
cairo
|
|
||||||
gdk-pixbuf
|
|
||||||
gtk2-x11
|
|
||||||
libz
|
|
||||||
libcap
|
|
||||||
libsecret
|
|
||||||
openssl_1_1
|
|
||||||
SDL2
|
|
||||||
libGL
|
|
||||||
]);
|
|
||||||
|
|
||||||
extraInstallCommands = ''
|
|
||||||
mkdir -p $out/share/applications $out/share/icons
|
|
||||||
ln -s ${bolt}/share/applications/*.desktop \
|
|
||||||
$out/share/applications/
|
|
||||||
ln -s ${bolt}/share/icons/hicolor \
|
|
||||||
$out/share/icons/hicolor
|
|
||||||
'';
|
|
||||||
|
|
||||||
runScript = "${bolt.name}";
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/Adamcake/Bolt";
|
|
||||||
description = "An alternative launcher for RuneScape";
|
|
||||||
license = lib.licenses.agpl3Plus;
|
|
||||||
maintainers = with lib.maintainers; [nezia];
|
|
||||||
platforms = lib.platforms.linux;
|
|
||||||
mainProgram = "${bolt.name}";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,15 +1,3 @@
|
||||||
{
|
pkgs: {
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
mcuxpresso = import ./mcuxpresso pkgs;
|
mcuxpresso = import ./mcuxpresso pkgs;
|
||||||
# this is unfortunately needed since bolt-launcher makes use of openssl-1.1.1w, and since it is not part of hosts, we have to add it this way
|
|
||||||
bolt-launcher =
|
|
||||||
(import inputs.nixpkgs {
|
|
||||||
inherit (pkgs) system;
|
|
||||||
config.permittedInsecurePackages = ["openssl-1.1.1w"];
|
|
||||||
})
|
|
||||||
.callPackage
|
|
||||||
./bolt-launcher.nix {};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
version = "24.9.25";
|
version = "24.9.25";
|
||||||
description = "MCUXpresso IDE";
|
description = "MCUXpresso IDE";
|
||||||
filename = "${name}-${version}.x86_64.deb";
|
filename = "${name}-${version}.x86_64.deb";
|
||||||
|
|
||||||
mcuxpressoideSrc = pkgs.stdenv.mkDerivation {
|
mcuxpressoideSrc = pkgs.stdenv.mkDerivation {
|
||||||
inherit version description;
|
inherit version description;
|
||||||
name = "${name}-src";
|
name = "${name}-src";
|
||||||
|
@ -19,6 +20,7 @@
|
||||||
ar -xv deb/${filename}
|
ar -xv deb/${filename}
|
||||||
tar xfvz data.tar.gz -C .
|
tar xfvz data.tar.gz -C .
|
||||||
mkdir -p ./final/eclipse
|
mkdir -p ./final/eclipse
|
||||||
|
find . -type f -iname "*mcuxpresso*" -o -iname "*.png" -o -iname "*.svg"
|
||||||
mv ./usr/local/${name}-${version}/ide/* ./usr/local/${name}-${version}/ide/.* final/eclipse
|
mv ./usr/local/${name}-${version}/ide/* ./usr/local/${name}-${version}/ide/.* final/eclipse
|
||||||
mv final/eclipse/mcuxpressoide final/eclipse/eclipse
|
mv final/eclipse/mcuxpressoide final/eclipse/eclipse
|
||||||
mv final/eclipse/mcuxpressoide.ini final/eclipse/eclipse.ini
|
mv final/eclipse/mcuxpressoide.ini final/eclipse/eclipse.ini
|
||||||
|
@ -37,6 +39,7 @@
|
||||||
tar -czf $out ./
|
tar -czf $out ./
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
mcuxpressoide = pkgs.eclipses.buildEclipse {
|
mcuxpressoide = pkgs.eclipses.buildEclipse {
|
||||||
name = "mcuxpresso-eclipse";
|
name = "mcuxpresso-eclipse";
|
||||||
inherit description;
|
inherit description;
|
||||||
|
@ -79,6 +82,7 @@ in
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
nativeBuildInputs = [pkgs.copyDesktopItems];
|
nativeBuildInputs = [pkgs.copyDesktopItems];
|
||||||
desktopItems = [
|
desktopItems = [
|
||||||
(pkgs.makeDesktopItem {
|
(pkgs.makeDesktopItem {
|
||||||
|
@ -88,6 +92,7 @@ in
|
||||||
exec = "mcuxpresso";
|
exec = "mcuxpresso";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p $out/bin $out/lib/udev/rules.d $out/eclipse $out/mcu_data
|
mkdir -p $out/bin $out/lib/udev/rules.d $out/eclipse $out/mcu_data
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
./users.nix
|
./users.nix
|
||||||
./security.nix
|
./security.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
|
../nix
|
||||||
];
|
];
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_US.UTF-8";
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./core
|
./core
|
||||||
./nix
|
|
||||||
|
|
||||||
./hardware/printing.nix
|
./hardware/printing.nix
|
||||||
./hardware/fwupd.nix
|
./hardware/fwupd.nix
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
overlays = [
|
||||||
|
(_: prev: {
|
||||||
|
lib =
|
||||||
|
prev.lib
|
||||||
|
// import ../../lib {
|
||||||
|
inherit (prev) lib pkgs;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = ["cinny-4.2.2" "cinny-unwrapped-4.2.2" "segger-jlink-qt4-796s"];
|
||||||
"cinny-4.2.2"
|
|
||||||
"cinny-unwrapped-4.2.2"
|
|
||||||
"segger-jlink-qt4-796s"
|
|
||||||
];
|
|
||||||
segger-jlink.acceptLicense = true;
|
segger-jlink.acceptLicense = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
programs = {
|
programs = {
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
gamemode.enable = true;
|
gamemode.enable = true;
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
imports = [
|
inputs,
|
||||||
./docker.nix
|
pkgs,
|
||||||
./gnupg.nix
|
...
|
||||||
./pipewire.nix
|
}: {
|
||||||
./kmscon.nix
|
imports = [./docker.nix ./gnupg.nix ./pipewire.nix ./kmscon.nix];
|
||||||
];
|
services.udev.packages = [pkgs.segger-jlink inputs.self.packages.${pkgs.system}.mcuxpresso.ide];
|
||||||
services.udev.packages = [pkgs.segger-jlink];
|
services.udev.extraRules = ''
|
||||||
|
SUBSYSTEM=="usb", ATTR{idVendor}=="1fc9", ATTR{idProduct}=="0132", MODE="0666"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{pkgs, ...}: {
|
_: {
|
||||||
virtualisation.podman = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dockerCompat = true;
|
rootless = {
|
||||||
|
enable = true;
|
||||||
|
setSocketVariable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [pkgs.distrobox];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
{
|
|
||||||
services.kanata = {
|
|
||||||
enable = true;
|
|
||||||
keyboards.default = {
|
|
||||||
extraDefCfg = "process-unmapped-keys yes";
|
|
||||||
config = ''
|
|
||||||
(defsrc
|
|
||||||
caps a s d f j k l ;
|
|
||||||
)
|
|
||||||
(defvar
|
|
||||||
tap-time 150
|
|
||||||
hold-time 200
|
|
||||||
)
|
|
||||||
|
|
||||||
(defalias
|
|
||||||
escctrl (tap-hold 100 100 esc lctl)
|
|
||||||
a (tap-hold $tap-time $hold-time a lmet)
|
|
||||||
s (tap-hold $tap-time $hold-time s lalt)
|
|
||||||
d (tap-hold $tap-time $hold-time d lsft)
|
|
||||||
f (tap-hold $tap-time $hold-time f lctl)
|
|
||||||
j (tap-hold $tap-time $hold-time j rctl)
|
|
||||||
k (tap-hold $tap-time $hold-time k rsft)
|
|
||||||
l (tap-hold $tap-time $hold-time l ralt)
|
|
||||||
; (tap-hold $tap-time $hold-time ; rmet)
|
|
||||||
)
|
|
||||||
|
|
||||||
(deflayer base
|
|
||||||
@escctrl @a @s @d @f @j @k @l @;
|
|
||||||
)
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
_: {
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
# rtkit is optional but recommended
|
# rtkit is optional but recommended
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue