mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-23 19:20:44 -06:00
Compare commits
5 commits
17045e81b2
...
b156aa63f9
Author | SHA1 | Date | |
---|---|---|---|
b156aa63f9 | |||
32564f4fdc | |||
2e87afc0f8 | |||
480ca0c41e | |||
6fb8365c03 |
6 changed files with 29 additions and 17 deletions
|
@ -10,6 +10,7 @@ let
|
|||
#supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
|
||||
supportedSystems = [ "x86_64-linux" ];
|
||||
forAllSystems = f: genAttrs supportedSystems (system: f (import nixpkgs { inherit system; }));
|
||||
|
||||
inheritFlakePkgs =
|
||||
pkgs: flakes:
|
||||
listToAttrs (
|
||||
|
|
|
@ -13,11 +13,10 @@ in
|
|||
environment.systemPackages =
|
||||
[ (flake.pkg "f1multiviewer") ]
|
||||
++ (with pkgs; [
|
||||
pcmanfm
|
||||
wezterm
|
||||
alacritty
|
||||
|
||||
xfce.thunar
|
||||
|
||||
inkscape
|
||||
gimp
|
||||
|
||||
|
|
|
@ -62,11 +62,12 @@ mkOizysModule config "hyprland" {
|
|||
];
|
||||
# using the below to autostart Hyprland
|
||||
# broke my keybindings that were working before
|
||||
# services.getty = {
|
||||
# extraArgs = [ "--skip-login" ];
|
||||
# loginOptions = "-p -- ${config.oizys.user}";
|
||||
# };
|
||||
#
|
||||
|
||||
services.getty = {
|
||||
extraArgs = [ "--skip-login" ];
|
||||
loginOptions = "-p -- ${config.oizys.user}";
|
||||
};
|
||||
|
||||
# environment.etc =
|
||||
# let
|
||||
# activate-snippet = ''
|
||||
|
|
|
@ -1,16 +1,25 @@
|
|||
{ inputs, ... }:
|
||||
let
|
||||
defaultOverlays =
|
||||
# execute and import all overlay files in the current
|
||||
# directory with the given args
|
||||
builtins.map
|
||||
# execute and import the overlay file
|
||||
(f: (import (./. + "/${f}") { inherit inputs; }))
|
||||
# find all overlay files in the current directory
|
||||
(builtins.filter (f: f != "default.nix") (builtins.attrNames (builtins.readDir ./.)));
|
||||
inherit (builtins)
|
||||
map
|
||||
filter
|
||||
attrNames
|
||||
readDir
|
||||
;
|
||||
# execute and import all overlay files in the current
|
||||
# directory with the given args
|
||||
# overlays =
|
||||
# map
|
||||
# (f: (import (./. + "/${f}") { inherit inputs; }))
|
||||
# (filter (f: f != "default.nix") (attrNames (readDir ./.)));
|
||||
overlays =
|
||||
readDir ./.
|
||||
|> attrNames
|
||||
|> filter (f: f != "default.nix")
|
||||
|> map (f: import (./. + "/${f}") { inherit inputs; });
|
||||
in
|
||||
{
|
||||
nixpkgs.overlays = defaultOverlays ++ [
|
||||
nixpkgs.overlays = overlays ++ [
|
||||
(final: _prev: {
|
||||
stable = import inputs.stable {
|
||||
system = final.system;
|
||||
|
|
2
todo.md
2
todo.md
|
@ -2,6 +2,8 @@
|
|||
|
||||
## oizys
|
||||
|
||||
- [ ] write a flake template that includes the systems boilerplate
|
||||
|
||||
## software
|
||||
|
||||
- [ ] lid closed does not engage hyprlock?
|
||||
|
|
Loading…
Reference in a new issue