this repo has no description
1{
2 description = "parsec system and home configuration";
3
4 inputs = {
5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6 nixos-hardware.url = "github:NixOS/nixos-hardware";
7 nix-flatpak.url = "github:gmodena/nix-flatpak";
8
9 home-manager = {
10 url = "github:nix-community/home-manager";
11 inputs.nixpkgs.follows = "nixpkgs";
12 };
13
14 firefox-nightly = {
15 url = "github:nix-community/flake-firefox-nightly";
16 inputs.nixpkgs.follows = "nixpkgs";
17 };
18 };
19
20 outputs = { nixpkgs, nixos-hardware, home-manager, firefox-nightly, nix-flatpak, ... }:
21 let
22 system = "x86_64-linux";
23 pkgs = import nixpkgs {
24 inherit system;
25 config.allowUnfree = true;
26 };
27 in
28 {
29 nixosConfigurations.parsec = nixpkgs.lib.nixosSystem {
30 specialArgs = {
31 inherit firefox-nightly;
32 };
33
34 modules = [
35 { nixpkgs.hostPlatform = system; }
36
37 nixos-hardware.nixosModules.framework-desktop-amd-ai-max-300-series
38 nix-flatpak.nixosModules.nix-flatpak
39
40 ./nixos/hardware-configuration.nix
41 ./nixos/configuration.nix
42
43 {
44 users.users.tester = {
45 isNormalUser = true;
46 home = "/home/tester";
47 shell = pkgs.zsh;
48 extraGroups = ["wheel" "networkmanager" "video" "render"];
49 };
50 }
51 ];
52 };
53
54 homeConfigurations.tester = home-manager.lib.homeManagerConfiguration {
55 inherit pkgs;
56
57 modules = [
58 nix-flatpak.homeManagerModules.nix-flatpak
59
60 ./nixos/home-tester.nix
61 ];
62 };
63 };
64}