Compare commits

...
7 Commits
Author SHA1 Message Date
Sweetbread d39407ceb5 hypr: change border color 2025-12-01 14:01:03 +03:00
Chest 69fb7af5eb aagl_zzz 2025-12-01 14:00:02 +03:00
Chest d98a5c0299 cat 2025-12-01 14:00:02 +03:00
Sweetbread da2270ecdc zsh: add more aliases 2025-12-01 01:18:40 +03:00
Sweetbread 661a345fc7 boot: left os prober only for Impreza 2025-12-01 01:18:40 +03:00
Sweetbread 05e8560841 flake: remove devshell 2025-12-01 01:18:40 +03:00
Sweetbread ba2d24a66d flake: remove host definition dublication 2025-12-01 01:18:40 +03:00
7 changed files with 30 additions and 74 deletions

No files matched your search

+18 -71
View File
@@ -2,6 +2,8 @@
description = "My system configuration"; description = "My system configuration";
nixConfig = { nixConfig = {
allowUnfree = true;
extra-substituters = [ extra-substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
# "https://cache.garnix.io" # "https://cache.garnix.io"
@@ -42,79 +44,24 @@
outputs = { self, nixpkgs, nixpkgs-stable, nixpkgs-fixed, home-manager, ... }@inputs: let outputs = { self, nixpkgs, nixpkgs-stable, nixpkgs-fixed, home-manager, ... }@inputs: let
system = "x86_64-linux"; 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 { in {
nixosConfigurations = { nixosConfigurations = {
Rias = nixpkgs-stable.lib.nixosSystem { Rias = mkHost "Rias";
specialArgs = { Senko = mkHost "Senko";
pkgs-unstable = import nixpkgs { Eclipse = mkHost "Eclipse";
inherit system; Impreza = mkHost "Impreza";
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
];
}; };
}; };
} }
+3
View File
@@ -29,4 +29,7 @@ in {
nixpkgs.config.allowBroken = true; nixpkgs.config.allowBroken = true;
programs.gamemode.enable = true; programs.gamemode.enable = true;
services.printing.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 ]; imports = [ inputs.aagl.nixosModules.default ];
nix.settings = inputs.aagl.nixConfig; # Set up Cachix nix.settings = inputs.aagl.nixConfig; # Set up Cachix
programs.honkers-railway-launcher.enable = true; programs.honkers-railway-launcher.enable = true;
programs.sleepy-launcher.enable = true;
networking.hosts."0.0.0.0" = [ networking.hosts."0.0.0.0" = [
"overseauspider.yuanshen.com" "overseauspider.yuanshen.com"
"log-upload-os.hoyoverse.com" "log-upload-os.hoyoverse.com"
+2
View File
@@ -41,4 +41,6 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
boot.loader.grub.useOSProber = true;
} }
-1
View File
@@ -11,7 +11,6 @@
enable = true; enable = true;
efiSupport = true; efiSupport = true;
device = "nodev"; device = "nodev";
useOSProber = true;
}; };
}; };
consoleLogLevel = 0; consoleLogLevel = 0;
+2
View File
@@ -55,11 +55,13 @@
flakeDir = "~/nix"; flakeDir = "~/nix";
in { in {
rb = "nh os switch ${flakeDir}"; rb = "nh os switch ${flakeDir}";
trb = "nh os test ${flakeDir}";
upd = "nix flake update --flake ${flakeDir}"; upd = "nix flake update --flake ${flakeDir}";
cat = "${pkgs.lib.getExe pkgs.bat}"; cat = "${pkgs.lib.getExe pkgs.bat}";
cd = "z"; cd = "z";
lg = "lazygit"; lg = "lazygit";
s = "nix-shell . --run zsh";
}; };
initContent = '' initContent = ''
+4 -2
View File
@@ -7,8 +7,10 @@
gaps_in = 5; gaps_in = 5;
gaps_out = 5; gaps_out = 5;
border_size = 2; border_size = 2;
"col.active_border" = "rgba(${colors.base0C}ee) rgba(${colors.base0B}ee) 45deg"; col = {
"col.inactive_border" = "rgba(${colors.base05}aa)"; active_border = "rgba(${colors.base0A}ee) rgba(${colors.base09}ee) 45deg";
inactive_border = "rgba(${colors.base05}aa)";
};
layout = "dwindle"; layout = "dwindle";
}; };