some changes

This commit is contained in:
tx0 2025-03-08 10:28:08 +05:00
parent 71cf771514
commit 5d867a0459
10 changed files with 22 additions and 18 deletions

View file

@ -40,7 +40,10 @@
]; ];
}; };
}; };
systems = [system]; systems = [
"x86_64-linux"
"aarch64-linux"
];
}; };
inputs = { inputs = {

View file

@ -1,6 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
services.udiskie = { services.udiskie = {
enable = false; enable = true;
settings = { settings = {
program_options = { program_options = {
file_manager = "${pkgs.nautilus}/bin/nautilus"; file_manager = "${pkgs.nautilus}/bin/nautilus";

View file

@ -9,6 +9,7 @@
# derivations # derivations
(callPackage ./derivations/bunnyfetch {}) (callPackage ./derivations/bunnyfetch {})
(callPackage ./derivations/ubports-installer {})
#fonts #fonts
(google-fonts.override {fonts = ["Poppins" "Inter" "Roboto Mono"];}) (google-fonts.override {fonts = ["Poppins" "Inter" "Roboto Mono"];})
@ -26,6 +27,7 @@
# utilites # utilites
wl-clipboard wl-clipboard
xclip xclip
waypipe
# cli # cli
sops sops
@ -36,6 +38,7 @@
nix-output-monitor nix-output-monitor
eza eza
bat bat
quickemu
distrobox distrobox
#net #net

View file

@ -6,7 +6,7 @@
}: let }: let
pname = "ubports-installer"; pname = "ubports-installer";
icon = ./ubports-mascot.jpg; icon = ./ubports-mascot.png;
desktopItems = [ desktopItems = [
(makeDesktopItem { (makeDesktopItem {
@ -28,14 +28,11 @@ in
src = fetchurl { src = fetchurl {
url = "https://github.com/ubports/ubports-installer/releases/download/${version}/ubports-installer_${version}_linux_x86_64.AppImage"; url = "https://github.com/ubports/ubports-installer/releases/download/${version}/ubports-installer_${version}_linux_x86_64.AppImage";
hash = "sha256-oUQ4AaRiUMeklyI4xzH+krXyedqpLiA9obo5uO8JJak="; hash = "sha256-RmSim4dJMCQsw+lFN17dhuL5AqfHNLyiDYQtzO5gymU=";
}; };
extraInstallCommands = extraInstallCommands =
'' lib.concatMapStringsSep "\n "
mv $out/bin/${pname}-${version} $out/bin/${pname}
''
+ lib.concatMapStringsSep "\n "
(e: '' (e: ''
install -Dm444 -t $out/share/applications ${e}/share/applications/*.desktop install -Dm444 -t $out/share/applications ${e}/share/applications/*.desktop
'') '')

View file

@ -21,6 +21,7 @@ in {
base16Scheme = mkOption { base16Scheme = mkOption {
type = types.str; type = types.str;
default = config.stylix.generated.palette;
}; };
}; };

View file

@ -1,6 +0,0 @@
{...}: {
virtualisation.podman = {
enable = true;
dockerCompat = true;
};
}

View file

@ -6,7 +6,7 @@
}: { }: {
boot = { boot = {
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages_zen;
kernelModules = []; kernelModules = ["i2c-dev" "ddcci_backlight"];
extraModulePackages = with config.boot.kernelPackages; [ extraModulePackages = with config.boot.kernelPackages; [
amneziawg amneziawg
]; ];
@ -17,5 +17,6 @@
loader.efi.canTouchEfiVariables = true; loader.efi.canTouchEfiVariables = true;
binfmt.emulatedSystems = ["aarch64-linux"]; binfmt.emulatedSystems = ["aarch64-linux"];
tmp.useTmpfs = true;
}; };
} }

View file

@ -12,7 +12,9 @@
"podman" "podman"
"adbusers" "adbusers"
"kvm" "kvm"
"i2c"
]; ];
uid = 1000;
subGidRanges = [ subGidRanges = [
{ {
count = 65536; count = 65536;
@ -25,7 +27,6 @@
startUid = 100000; startUid = 100000;
} }
]; ];
packages = [];
useDefaultShell = true; useDefaultShell = true;
openssh.authorizedKeys = { openssh.authorizedKeys = {
keys = [ keys = [
@ -35,5 +36,9 @@
}; };
shell = pkgs.fish; shell = pkgs.fish;
}; };
groups = {
adbusers = {};
i2c = {};
};
}; };
} }

View file

@ -5,8 +5,8 @@
waybar.enable = true; waybar.enable = true;
}; };
theme.stylix = { theme.stylix = {
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-medium.yaml"; # base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-medium.yaml";
wallpapers = ./wallpapers.jpg; wallpapers = ./wallpaper.png;
useLutgen = false; useLutgen = false;
}; };
}; };

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB