nixos-config/flake.nix

41 lines
827 B
Nix
Raw Normal View History

2025-08-07 01:32:02 +02:00
{
2025-08-21 11:21:15 +02:00
description = "My nixos config with WM switch capacity";
2025-08-07 01:32:02 +02:00
2025-08-21 11:21:15 +02:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
2025-08-07 01:32:02 +02:00
2025-08-21 11:21:15 +02:00
outputs = { self, nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
2025-08-07 01:32:02 +02:00
2025-08-21 11:21:15 +02:00
in {
nixosConfigurations = {
pennsardin = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./hosts/pennsardin/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true ;
# home-manager.useUserPackages = true;
home-manager.users.lomig = import ./user/lomig.nix ;
}
];
};
};
};
2025-08-07 01:32:02 +02:00
}
2025-08-21 11:21:15 +02:00
# vim: set ts=2 sw=2 sts=2 et :