Compare commits

...
7 Commits
Author SHA1 Message Date
Sweetbread 6950a07a09 hypr: change border color 2025-12-01 14:24:19 +03:00
Chest 8faa566d5c aagl_zzz 2025-12-01 14:24:19 +03:00
Chest 1aec02c503 cat 2025-12-01 14:24:19 +03:00
Sweetbread b8809bbbdd zsh: add more aliases 2025-12-01 14:24:19 +03:00
Sweetbread d9b16bd58e boot: left os prober only for Impreza 2025-12-01 14:24:18 +03:00
Sweetbread 56cd152a04 flake: remove devshell 2025-12-01 14:24:18 +03:00
Sweetbread 8a514d2296 flake: remove host definition dublication 2025-12-01 14:24:18 +03:00
7 changed files with 24 additions and 73 deletions
+16 -71
View File
@@ -42,79 +42,24 @@
outputs = { self, nixpkgs, nixpkgs-stable, nixpkgs-fixed, home-manager, ... }@inputs: let
system = "x86_64-linux";
config = { allowUnfree = true; };
mkHost = hostname: nixpkgs-stable.lib.nixosSystem {
specialArgs = {
inherit
inputs
system
;
pkgs-unstable = import nixpkgs { inherit system config; };
pkgs-fixed = import nixpkgs-fixed { inherit system config; };
};
modules = [ ./host/${hostname}/configuration.nix ];
};
in {
nixosConfigurations = {
Rias = nixpkgs-stable.lib.nixosSystem {
specialArgs = {
pkgs-unstable = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
pkgs-fixed = import nixpkgs-fixed {
inherit system;
config.allowUnfree = true;
};
inherit inputs system;
};
modules = [ ./host/Rias/configuration.nix ];
};
Senko = nixpkgs-stable.lib.nixosSystem {
specialArgs = {
pkgs-unstable = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
pkgs-fixed = import nixpkgs-fixed {
inherit system;
config.allowUnfree = true;
};
inherit inputs system;
};
modules = [ ./host/Senko/configuration.nix ];
};
Eclipse = nixpkgs-stable.lib.nixosSystem {
specialArgs = {
pkgs-unstable = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
pkgs-fixed = import nixpkgs-fixed {
inherit system;
config.allowUnfree = true;
};
inherit inputs system;
};
modules = [ ./host/Eclipse/configuration.nix ];
};
Impreza = nixpkgs-stable.lib.nixosSystem {
specialArgs = {
pkgs-unstable = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
pkgs-fixed = import nixpkgs-fixed {
inherit system;
config.allowUnfree = true;
};
inherit inputs system;
};
modules = [ ./host/Impreza/configuration.nix ];
};
};
devShells."${system}".default = let
pkgs = import nixpkgs { inherit system; };
in pkgs.mkShell {
shellHook = "zsh";
packages = with pkgs; [
cargo
rustc
rust-analyzer
lldb
];
Rias = mkHost "Rias";
Senko = mkHost "Senko";
Eclipse = mkHost "Eclipse";
Impreza = mkHost "Impreza";
};
};
}
+2
View File
@@ -29,4 +29,6 @@ in {
nixpkgs.config.allowBroken = true;
programs.gamemode.enable = true;
services.printing.enable = true;
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "chest" ];
}
+1
View File
@@ -2,6 +2,7 @@
imports = [ inputs.aagl.nixosModules.default ];
nix.settings = inputs.aagl.nixConfig; # Set up Cachix
programs.honkers-railway-launcher.enable = true;
programs.sleepy-launcher.enable = true;
networking.hosts."0.0.0.0" = [
"overseauspider.yuanshen.com"
"log-upload-os.hoyoverse.com"
+2
View File
@@ -41,4 +41,6 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
boot.loader.grub.useOSProber = true;
}
-1
View File
@@ -11,7 +11,6 @@
enable = true;
efiSupport = true;
device = "nodev";
useOSProber = true;
};
};
consoleLogLevel = 0;
+2
View File
@@ -55,11 +55,13 @@
flakeDir = "~/nix";
in {
rb = "nh os switch ${flakeDir}";
trb = "nh os test ${flakeDir}";
upd = "nix flake update --flake ${flakeDir}";
cat = "${pkgs.lib.getExe pkgs.bat}";
cd = "z";
lg = "lazygit";
s = "nix-shell . --run zsh";
};
initContent = ''
+1 -1
View File
@@ -7,7 +7,7 @@
gaps_in = 5;
gaps_out = 5;
border_size = 2;
"col.active_border" = "rgba(${colors.base0C}ee) rgba(${colors.base0B}ee) 45deg";
"col.active_border" = "rgba(${colors.base0A}ee) rgba(${colors.base09}ee) 45deg";
"col.inactive_border" = "rgba(${colors.base05}aa)";
layout = "dwindle";