init commit - working on easyroam
This commit is contained in:
47
flake.nix
Normal file
47
flake.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
description = "A Flake lol";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-23.11";
|
||||
home-manager.url = "github:nix-community/home-manager/release-23.11";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
user = "nx2";
|
||||
allowed = {
|
||||
unfree-packages = [
|
||||
"spotify"
|
||||
"obsidian"
|
||||
"zoom-us"
|
||||
];
|
||||
inecure-packages = [
|
||||
"electron-25.9.0"
|
||||
];
|
||||
};
|
||||
secrets = import ./secrets/passwords-and-certificates.nix
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
NxXPS = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
./configuration.nix
|
||||
];
|
||||
specialArgs = {inherit user allowed secrets;};
|
||||
};
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
nx2 = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./home.nix ];
|
||||
extraSpecialArgs = {inherit user allowed secrets;};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user