Compare commits

...

5 commits

Author SHA1 Message Date
b156aa63f9
tryout a new file manager 2024-08-14 13:14:38 -05:00
32564f4fdc
formatting 2024-08-14 10:25:49 -05:00
2e87afc0f8
add todo 2024-08-14 09:50:29 -05:00
480ca0c41e
use pipes because why not 2024-08-14 09:50:26 -05:00
6fb8365c03
auto set username 2024-08-14 09:49:15 -05:00
6 changed files with 29 additions and 17 deletions

View file

@ -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 (

View file

@ -13,11 +13,10 @@ in
environment.systemPackages =
[ (flake.pkg "f1multiviewer") ]
++ (with pkgs; [
pcmanfm
wezterm
alacritty
xfce.thunar
inkscape
gimp

View file

@ -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 = ''

View file

@ -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;

View file

@ -2,6 +2,8 @@
## oizys
- [ ] write a flake template that includes the systems boilerplate
## software
- [ ] lid closed does not engage hyprlock?