octoflake?
This commit is contained in:
parent
d122c3b418
commit
2015647f67
2 changed files with 22 additions and 19 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, pkgs-unstable, lib, ... }:
|
{ config, pkgs, pkgs-unstable, lib, octofriend, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
(python3.withPackages(ps: with ps; [ pandas requests python-dotenv pip uv ]))
|
(python3.withPackages(ps: with ps; [ pandas requests python-dotenv pip uv ]))
|
||||||
nodejs
|
nodejs
|
||||||
putty # SSH/Telnet client
|
putty # SSH/Telnet client
|
||||||
octofriend-nix.packages.x86_64-linux.default
|
octofriend-nix.packages.${pkgs.system}.default
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
|
|
|
||||||
13
flake.nix
13
flake.nix
|
|
@ -14,22 +14,25 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.home-manager.follows = "home-manager";
|
inputs.home-manager.follows = "home-manager";
|
||||||
};
|
};
|
||||||
hyprland.url = "github:hyprwm/Hyprland";
|
octofriend = {
|
||||||
|
url = "path:./appflakes/octofriend";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, plasma-manager, hyprland }:
|
outputs = { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, plasma-manager, octofriend }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
# Common specialArgs for all systems
|
|
||||||
commonSpecialArgs = {
|
commonSpecialArgs = {
|
||||||
pkgs-unstable = import nixpkgs-unstable {
|
pkgs-unstable = import nixpkgs-unstable {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inherit octofriend-nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Helper function to create a system configuration
|
|
||||||
mkSystem = { modules, hardware ? [] }: nixpkgs.lib.nixosSystem {
|
mkSystem = { modules, hardware ? [] }: nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = commonSpecialArgs;
|
specialArgs = commonSpecialArgs;
|
||||||
|
|
@ -37,7 +40,7 @@
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
] ++ hardware ++ modules;
|
] ++ hardware ++ modules;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
# Common desktop modules
|
# Common desktop modules
|
||||||
commonDesktopModules = [
|
commonDesktopModules = [
|
||||||
./systems/common.nix
|
./systems/common.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue