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" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
supportedSystems = [ "x86_64-linux" ]; supportedSystems = [ "x86_64-linux" ];
forAllSystems = f: genAttrs supportedSystems (system: f (import nixpkgs { inherit system; })); forAllSystems = f: genAttrs supportedSystems (system: f (import nixpkgs { inherit system; }));
inheritFlakePkgs = inheritFlakePkgs =
pkgs: flakes: pkgs: flakes:
listToAttrs ( listToAttrs (

View file

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

View file

@ -62,11 +62,12 @@ mkOizysModule config "hyprland" {
]; ];
# using the below to autostart Hyprland # using the below to autostart Hyprland
# broke my keybindings that were working before # broke my keybindings that were working before
# services.getty = {
# extraArgs = [ "--skip-login" ]; services.getty = {
# loginOptions = "-p -- ${config.oizys.user}"; extraArgs = [ "--skip-login" ];
# }; loginOptions = "-p -- ${config.oizys.user}";
# };
# environment.etc = # environment.etc =
# let # let
# activate-snippet = '' # activate-snippet = ''

View file

@ -21,7 +21,7 @@ mkOizysModule config "vpn" {
# updateResolvConf = true; # updateResolvConf = true;
# }; # };
# #
mullvad-chi = { mullvad-chi = {
config = '' config = ''
config /home/daylin/.config/openvpn/mullvad-chi/mullvad_us_chi.conf config /home/daylin/.config/openvpn/mullvad-chi/mullvad_us_chi.conf

View file

@ -1,16 +1,25 @@
{ inputs, ... }: { inputs, ... }:
let let
defaultOverlays = inherit (builtins)
# execute and import all overlay files in the current map
# directory with the given args filter
builtins.map attrNames
# execute and import the overlay file readDir
(f: (import (./. + "/${f}") { inherit inputs; })) ;
# find all overlay files in the current directory # execute and import all overlay files in the current
(builtins.filter (f: f != "default.nix") (builtins.attrNames (builtins.readDir ./.))); # 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 in
{ {
nixpkgs.overlays = defaultOverlays ++ [ nixpkgs.overlays = overlays ++ [
(final: _prev: { (final: _prev: {
stable = import inputs.stable { stable = import inputs.stable {
system = final.system; system = final.system;

View file

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