refactor
This commit is contained in:
35
flake.nix
35
flake.nix
@@ -44,30 +44,19 @@
|
|||||||
};
|
};
|
||||||
ksoloti-pr.url = "github:repomaa/nixpkgs/pkg/ksoloti";
|
ksoloti-pr.url = "github:repomaa/nixpkgs/pkg/ksoloti";
|
||||||
};
|
};
|
||||||
outputs = { nixpkgs, nixpkgs-unstable, gtrackmap, ksoloti-pr, lanzaboote, nixos-hardware, auto-cpufreq, home-manager, ... }@inputs: {
|
outputs = { nixpkgs, ... }@inputs: {
|
||||||
nixosConfigurations.freun-dev = nixpkgs.lib.nixosSystem {
|
nixosConfigurations = {
|
||||||
system = "x86_64-linux";
|
freun-dev = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = inputs;
|
system = "x86_64-linux";
|
||||||
modules = [
|
specialArgs = { inherit inputs; };
|
||||||
./freun.dev
|
modules = [ ./freun.dev ];
|
||||||
gtrackmap.nixosModules.x86_64-linux.default
|
};
|
||||||
];
|
|
||||||
};
|
radish = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
nixosConfigurations.radish = nixpkgs.lib.nixosSystem rec {
|
specialArgs = { inherit inputs; };
|
||||||
system = "x86_64-linux";
|
modules = [ ./radish ];
|
||||||
specialArgs = {
|
|
||||||
pkgs-unstable = import nixpkgs-unstable { inherit system; };
|
|
||||||
ksoloti-pr = import ksoloti-pr { inherit system; };
|
|
||||||
inherit inputs system;
|
|
||||||
};
|
};
|
||||||
modules = [
|
|
||||||
./radish
|
|
||||||
lanzaboote.nixosModules.lanzaboote
|
|
||||||
nixos-hardware.nixosModules.framework-13-7040-amd
|
|
||||||
auto-cpufreq.nixosModules.default
|
|
||||||
home-manager.nixosModules.home-manager
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
{ ... }: {
|
{ inputs, ... }:
|
||||||
|
let
|
||||||
|
inherit (inputs) gtrackmap;
|
||||||
|
in
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
|
gtrackmap.nixosModules.x86_64-linux.default
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{ ksoloti-pr, inputs, ... }:
|
{ inputs, ... }:
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
users = {
|
users = {
|
||||||
jokke = import ./jokke;
|
jokke = import ./jokke;
|
||||||
moco = import ./moco;
|
moco = import ./moco;
|
||||||
};
|
};
|
||||||
extraSpecialArgs = { inherit ksoloti-pr inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
sharedModules = [ (import ./common) ];
|
sharedModules = [ (import ./common) ];
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ksoloti-pr, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
inkscape
|
inkscape
|
||||||
wineWowPackages.waylandFull
|
wineWowPackages.waylandFull
|
||||||
reaper
|
reaper
|
||||||
ksoloti-pr.ksoloti
|
inputs.ksoloti-pr.legacyPackages.${pkgs.system}.ksoloti
|
||||||
calibre
|
calibre
|
||||||
jellyfin-media-player
|
jellyfin-media-player
|
||||||
darktable
|
darktable
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
{ ... }: {
|
{ inputs, ... }:
|
||||||
|
let
|
||||||
|
inherit (inputs) lanzaboote nixos-hardware auto-cpufreq home-manager;
|
||||||
|
in
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
@@ -9,6 +13,10 @@
|
|||||||
./containers.nix
|
./containers.nix
|
||||||
./desktop.nix
|
./desktop.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
|
lanzaboote.nixosModules.lanzaboote
|
||||||
|
nixos-hardware.nixosModules.framework-13-7040-amd
|
||||||
|
auto-cpufreq.nixosModules.default
|
||||||
|
home-manager.nixosModules.home-manager
|
||||||
../home
|
../home
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ksoloti-pr, lib, config, ... }:
|
{ pkgs, inputs, lib, config, ... }:
|
||||||
{
|
{
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
hardware.bluetooth.powerOnBoot = true;
|
hardware.bluetooth.powerOnBoot = true;
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
services.udev.packages = [
|
services.udev.packages = [
|
||||||
pkgs.zsa-udev-rules
|
pkgs.zsa-udev-rules
|
||||||
pkgs.yubikey-personalization
|
pkgs.yubikey-personalization
|
||||||
ksoloti-pr.ksoloti
|
inputs.ksoloti-pr.legacyPackages.${pkgs.system}.ksoloti
|
||||||
];
|
];
|
||||||
services.usbmuxd = {
|
services.usbmuxd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user