It builds

This commit is contained in:
KnightArtorias 2026-05-20 01:37:16 +00:00
parent 27f45b8ebc
commit 5a27bcf255
10 changed files with 96 additions and 38 deletions

60
flake.lock generated
View file

@ -1,5 +1,43 @@
{ {
"nodes": { "nodes": {
"aagl": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
],
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1778493762,
"narHash": "sha256-PG7vz7Dk3U3hB8OXtIS3bJ4QmJEw08ycFprJuAO7YS0=",
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"rev": "75aac6845b47e913b53c2a0af7fd124fdb8fe84a",
"type": "github"
},
"original": {
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@ -82,12 +120,34 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"aagl": "aagl",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"import-tree": "import-tree", "import-tree": "import-tree",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"wrapper-modules": "wrapper-modules" "wrapper-modules": "wrapper-modules"
} }
}, },
"rust-overlay": {
"inputs": {
"nixpkgs": [
"aagl",
"nixpkgs"
]
},
"locked": {
"lastModified": 1777605393,
"narHash": "sha256-Hjp0VOOHgHcTrX23iVvnfAudPcuCmfkfpQNFwv2v/ks=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "ff88db34cfa486fc4964a6991cab1678d82eee8c",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"wrapper-modules": { "wrapper-modules": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"

View file

@ -11,5 +11,11 @@
aagl.inputs.nixpkgs.follows = "nixpkgs"; aagl.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} (inputs.import-tree ./modules); outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];
imports = [
inputs.wrapper-modules.flakeModules.default
(inputs.import-tree ./modules)
];
};
} }

View file

@ -1,7 +0,0 @@
{
flake.nixosModules.alacritty = {
programs.alacritty = {
enable = true;
};
};
}

View file

@ -2,7 +2,7 @@
flake.nixosModules.git = { flake.nixosModules.git = {
programs.git = { programs.git = {
enable = true; enable = true;
settings = { config = {
user = { user = {
name = "KnightArtorias"; name = "KnightArtorias";
email = "booksandpi@gmail.com"; email = "booksandpi@gmail.com";

View file

@ -1,8 +1,8 @@
{ inputs, ... }: { { inputs, ... }: {
flakes.nixosModules.hsr = { config, lib, aagl, ... }: { flake.nixosModules.hsr = { config, pkgs, lib, ... }: {
imports = [ aagl.nixosModules.default ]; imports = [ inputs.aagl.nixosModules.default ];
nix.settings = aagl.nixConfig; nix.settings = inputs.aagl.nixConfig;
programs.honkers-railway-launcher.enable = true; programs.honkers-railway-launcher.enable = true;
}; };

View file

@ -1,5 +1,5 @@
{ {
flakes.nixosModules.fuzzel = { pkgs, ... }: { flake.nixosModules.fuzzel = { pkgs, ... }: {
services.mako = { services.mako = {
enable = true; enable = true;
settings = { settings = {

View file

@ -1,5 +1,5 @@
{ {
flakes.nixosModules.zsh = { flake.nixosModules.zsh = { pkgs, ... }: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
zsh zsh
oh-my-zsh oh-my-zsh

View file

@ -1,13 +1,10 @@
{ self, inputs, ... }: { { self, inputs, ... }: {
flake.nixosModules.crowConfiguration = { pkgs, lib, ... }: { flake.nixosModules.crowConfiguration = { pkgs, ... }: {
inherit inputs;
imports = [ imports = [
self.nixosModules.crowHardware self.nixosModules.crowHardware
self.nixosModules.nest self.nixosModules.nest
self.nixosModules.niri self.nixosModules.niri
self.nixosModules.alacritty
self.nixosModules.git self.nixosModules.git
self.nixosModules.gdm self.nixosModules.gdm
self.nixosModules.hsr self.nixosModules.hsr
@ -23,7 +20,7 @@
prismlauncher prismlauncher
kubectl kubectl
kompose kompose
openlens lens
htop htop
zip zip
unzip unzip
@ -32,14 +29,22 @@
neovim neovim
wget wget
pciutils pciutils
alacritty
brave
lutris
vesktop
steam
]; ];
programs = { nixpkgs.overlays = [
brave.enable = true; # Open LDAP currently has a problem
lutris.enable = true; # with one of the tests. Just disable it
vesktop.enable = true; (final: prev: {
steam.enable = true; openldap = prev.openldap.overrideAttrs (oldAttrs: {
}; doCheck = false;
});
})
];
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.hostName = "crow"; networking.hostName = "crow";
@ -78,12 +83,16 @@
]; ];
}; };
nix.settings.experimental-features = [ "nix-commands" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.auto-optimise-store = true; nix.settings.auto-optimise-store = true;
nix.gc = { nix.gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
nixpkgs.config.allowUnfree = true;
system.stateVersion = "26.05";
}; };
} }

View file

@ -1,10 +0,0 @@
{
config = {
systems = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
];
};
}