Skip to content

Commit

Permalink
feat: damogran rpi
Browse files Browse the repository at this point in the history
  • Loading branch information
voobscout committed Sep 1, 2024
1 parent 24b2c89 commit c689903
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 58 deletions.
21 changes: 10 additions & 11 deletions cells/home/homeProfiles/browsers/firefox.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,23 @@ let
margin-bottom: 0 !important;
}
/* Autohide nav-bar */
/* Hide the nav-bar by default */
#nav-bar {
visibility: collapse;
opacity: 0;
visibility: collapse !important;
opacity: 0 !important;
transition: opacity 0.3s ease;
}
/* Show the nav-bar when hovered */
#nav-bar:hover,
#nav-bar[focused="true"] {
visibility: visible;
opacity: 1;
#nav-bar:hover {
visibility: visible !important;
opacity: 1 !important;
}
/* Ensure Ctrl+L works by making the nav-bar visible when focused */
#urlbar[focused="true"] {
visibility: visible;
opacity: 1;
/* Show the nav-bar when the address bar is focused */
#nav-bar:focus-within {
visibility: visible !important;
opacity: 1 !important;
}
'';

Expand Down
6 changes: 3 additions & 3 deletions cells/nixos/hosts/damogran/_hardwareProfile.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@ in
[
inputs.raspberry-pi-nix.nixosModules.raspberry-pi

#inputs.disko.nixosModules.disko
# inputs.disko.nixosModules.disko

cell.nixosProfiles.hardware.opengl
cell.nixosProfiles.hardware.common
cell.nixosProfiles.hardware.bluetooth
cell.nixosProfiles.hardware.tlp
cell.nixosProfiles.hardware.fwupd
cell.nixosProfiles.core.kernel.physical-access-system
cell.nixosProfiles.filesystems.zfs
cell.nixosProfiles.boot.systemd-boot
# cell.nixosProfiles.filesystems.zfs
# cell.nixosProfiles.boot.systemd-boot
# cell.nixosProfiles.filesystems.impermanence.default
];

Expand Down
13 changes: 8 additions & 5 deletions cells/nixos/hosts/damogran/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@ rec {
pkgs = import inputs.nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
overlays = cell.overlays.default_desktop;
overlays = cell.overlays.default_desktop ++ [
inputs.raspberry-pi-nix.overlays.core
inputs.raspberry-pi-nix.overlays.libcamera
];
};
};

imports =
cell.nixosSuites.desktop
cell.nixosSuites.cli
# ++ [ cell.nixosProfiles.desktop.rdpserver ] # LightDM login via xrdp
++ cell.nixosSuites.networking
++ cell.nixosSuites.virtualization
++ [ (cell.lib.mkHome "vod" "zsh") ]
# ++ cell.nixosSuites.virtualization
# ++ [ (cell.lib.mkHome "vod" "zsh") ]
++ [
bee.home.nixosModules.home-manager
(import ./_hardwareProfile.nix { inherit inputs cell; })
Expand All @@ -31,7 +34,7 @@ rec {
systemd.network.networks.local-eth.matchConfig.Name = "eno1";
networking.wireless.enable = false;
networking.networkmanager.enable = true;
environment.systemPackages = with pkgs; [ ventoy-full ];
# environment.systemPackages = with pkgs; [ ventoy-full ];
})

{
Expand Down
14 changes: 0 additions & 14 deletions cells/nixos/hosts/damogran/intel_dsi_vbt.patch

This file was deleted.

4 changes: 2 additions & 2 deletions cells/nixos/nixosConfigurations.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ let
inherit (inputs.cells.common.lib.importers) importNixosConfigurations;
in
importNixosConfigurations {
skip = [ "damogran" ];
skipBootstrap = [ "marauder" ];
# skip = [ "damogran" ];
skipBootstrap = [ "marauder" "damogran" ];
src = ./hosts;
inherit inputs cell;
}
30 changes: 8 additions & 22 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@

# rpi stuff
inputs = {
raspberry-pi-nix.url = "github:nix-community/raspberry-pi-nix";
# "github:nix-community/raspberry-pi-nix";
raspberry-pi-nix.url = "github:infinidim-enterprises/raspberry-pi-nix";
raspberry-pi-nix.inputs.nixpkgs.follows = "nixos-24-05";
};

# kubernetes and friends
Expand Down

0 comments on commit c689903

Please sign in to comment.