Compare commits
2 commits
ab7cd37efb
...
96a0525a9f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96a0525a9f | ||
|
|
a2890ed58a |
7 changed files with 156 additions and 73 deletions
16
flake.lock
generated
16
flake.lock
generated
|
|
@ -514,6 +514,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-boot": {
|
||||
"locked": {
|
||||
"lastModified": 1722927293,
|
||||
"narHash": "sha256-8oCsiFyAuidAdhSz60Lu8+TwCPHxaeWixyv0xT0mLt4=",
|
||||
"owner": "Melkor333",
|
||||
"repo": "nixos-boot",
|
||||
"rev": "afaed735149d0a06f234e54dd2d9db2e18dc64ae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Melkor333",
|
||||
"repo": "nixos-boot",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1757103352,
|
||||
|
|
@ -745,6 +760,7 @@
|
|||
"niri": "niri",
|
||||
"nix-flatpak": "nix-flatpak",
|
||||
"nix-mineral": "nix-mineral",
|
||||
"nixos-boot": "nixos-boot",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_6",
|
||||
"stylix": "stylix",
|
||||
|
|
|
|||
21
flake.nix
21
flake.nix
|
|
@ -35,6 +35,7 @@
|
|||
};
|
||||
gnome-mobile.url = "github:chuangzhu/nixpkgs-gnome-mobile";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
||||
nixos-boot.url = "github:Melkor333/nixos-boot";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -52,11 +53,10 @@
|
|||
|
||||
# Per-system configuration
|
||||
perSystem =
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
{ config
|
||||
, pkgs
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
{
|
||||
# Configure treefmt
|
||||
|
|
@ -90,7 +90,12 @@
|
|||
};
|
||||
|
||||
# Packages
|
||||
packages = let cutieMobileImages = inputs.self.nixosConfigurations.cutie.config.mobile.outputs.android.android-fastboot-images; in {
|
||||
packages =
|
||||
let
|
||||
cutieMobileImages =
|
||||
inputs.self.nixosConfigurations.cutie.config.mobile.outputs.android.android-fastboot-images;
|
||||
in
|
||||
{
|
||||
default = cutieMobileImages;
|
||||
cutie-mobile-images =
|
||||
inputs.self.nixosConfigurations.cutie.config.mobile.outputs.android.android-fastboot-images;
|
||||
|
|
@ -208,6 +213,8 @@
|
|||
inputs.determinate.nixosModules.default
|
||||
inputs.musnix.nixosModules.musnix
|
||||
|
||||
inputs.nixos-boot.nixosModules.default
|
||||
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
@ -248,6 +255,8 @@
|
|||
inputs.stylix.nixosModules.stylix
|
||||
./modules/stylix.nix
|
||||
./modules/firefox-nixos.nix
|
||||
./modules/boot.nix
|
||||
./modules/binfmt.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
33
modules/binfmt.nix
Normal file
33
modules/binfmt.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ ... }:
|
||||
{
|
||||
boot.binfmt.emulatedSystems = [
|
||||
"aarch64-linux"
|
||||
"aarch64_be-linux"
|
||||
"alpha-linux"
|
||||
"armv6l-linux"
|
||||
"armv7l-linux"
|
||||
"i386-linux"
|
||||
"i486-linux"
|
||||
"i586-linux"
|
||||
"i686-linux"
|
||||
"i686-windows"
|
||||
"loongarch64-linux"
|
||||
"mips-linux"
|
||||
"mips64-linux"
|
||||
"mips64-linuxabin32"
|
||||
"mips64el-linux"
|
||||
"mips64el-linuxabin32"
|
||||
"mipsel-linux"
|
||||
"powerpc-linux"
|
||||
"powerpc64-linux"
|
||||
"powerpc64le-linux"
|
||||
"riscv32-linux"
|
||||
"riscv64-linux"
|
||||
"s390x-linux"
|
||||
"sparc-linux"
|
||||
"sparc64-linux"
|
||||
"wasm32-wasi"
|
||||
"wasm64-wasi"
|
||||
"x86_64-windows"
|
||||
];
|
||||
}
|
||||
16
modules/boot.nix
Normal file
16
modules/boot.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
nixos-boot = {
|
||||
enable = true;
|
||||
|
||||
# Different colors
|
||||
# bgColor.red = 100; # 0 - 255
|
||||
# bgColor.green = 100; # 0 - 255
|
||||
# bgColor.blue = 100; # 0 - 255
|
||||
|
||||
# If you want to make sure the theme is seen when your computer starts too fast
|
||||
# duration = 3; # in seconds
|
||||
};
|
||||
|
||||
boot.plymouth.theme = lib.mkForce "load_unload";
|
||||
}
|
||||
|
|
@ -7,7 +7,6 @@
|
|||
./helix.nix
|
||||
./alacritty.nix
|
||||
./nushell.nix
|
||||
./waybar.nix
|
||||
./niri
|
||||
./gammastep.nix
|
||||
./hypridle.nix
|
||||
|
|
@ -128,6 +127,8 @@
|
|||
jetbrains.idea-community
|
||||
jdk
|
||||
gradle
|
||||
|
||||
dust
|
||||
];
|
||||
# basic configuration of git, please change to your own
|
||||
programs.git = {
|
||||
|
|
|
|||
|
|
@ -14,10 +14,12 @@
|
|||
substituters = [
|
||||
"https://nix-gaming.cachix.org"
|
||||
"https://attic.mildlyfunctional.gay/nixbsd"
|
||||
"https://ai.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
||||
"nixbsd:gwcQlsUONBLrrGCOdEboIAeFq9eLaDqfhfXmHZs1mgc="
|
||||
"ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc="
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,13 @@
|
|||
}:
|
||||
|
||||
{
|
||||
programs.mpvpaper = {
|
||||
programs.wpaperd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
eDP-1 = {
|
||||
path = ../assets/wp6553608.jpg;
|
||||
apply-shadow = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue