formating
This commit is contained in:
parent
63e412b597
commit
e634c42b23
11 changed files with 141 additions and 186 deletions
18
flake.nix
18
flake.nix
|
|
@ -38,17 +38,9 @@
|
||||||
nvf.inputs.nixpkgs.follows = "nixpkgs";
|
nvf.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs @ {
|
outputs = inputs@{ self, nixpkgs, nix, nixpkgs-stable, nixos-hardware
|
||||||
self,
|
, home-manager, catppuccin, colmena, ... }:
|
||||||
nixpkgs,
|
let
|
||||||
nix,
|
|
||||||
nixpkgs-stable,
|
|
||||||
nixos-hardware,
|
|
||||||
home-manager,
|
|
||||||
catppuccin,
|
|
||||||
colmena,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
lib = nixpkgs.lib // home-manager.lib;
|
lib = nixpkgs.lib // home-manager.lib;
|
||||||
in {
|
in {
|
||||||
|
|
@ -85,8 +77,8 @@
|
||||||
modules = [ ./hosts/dragon ];
|
modules = [ ./hosts/dragon ];
|
||||||
specialArgs = { inherit inputs outputs; };
|
specialArgs = { inherit inputs outputs; };
|
||||||
};
|
};
|
||||||
eve = lib.nixosSystem {
|
book = lib.nixosSystem {
|
||||||
modules = [./hosts/eve];
|
modules = [ ./hosts/book ];
|
||||||
specialArgs = { inherit inputs outputs; };
|
specialArgs = { inherit inputs outputs; };
|
||||||
};
|
};
|
||||||
loki = lib.nixosSystem {
|
loki = lib.nixosSystem {
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,6 @@
|
||||||
{
|
{ lib, config, pkgs, inputs, outputs, home-manager, ... }:
|
||||||
lib,
|
with lib;
|
||||||
config,
|
let cfg = config.roles.citrix;
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
outputs,
|
|
||||||
home-manager,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.roles.citrix;
|
|
||||||
in {
|
in {
|
||||||
options.roles.citrix = { enable = lib.mkEnableOption "citrix tools"; };
|
options.roles.citrix = { enable = lib.mkEnableOption "citrix tools"; };
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,4 @@
|
||||||
{
|
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||||
inputs,
|
|
||||||
outputs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixos-hardware.nixosModules.google-pixelbook
|
inputs.nixos-hardware.nixosModules.google-pixelbook
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,4 @@
|
||||||
{
|
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||||
inputs,
|
|
||||||
outputs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixos-hardware.nixosModules.dell-xps-13-9310
|
inputs.nixos-hardware.nixosModules.dell-xps-13-9310
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,4 @@
|
||||||
{
|
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||||
inputs,
|
|
||||||
outputs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x260
|
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x260
|
||||||
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,6 @@
|
||||||
{
|
{ pkgs, lib, config, ... }:
|
||||||
pkgs,
|
with lib;
|
||||||
lib,
|
let
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.wm.sway;
|
cfg = config.wm.sway;
|
||||||
dbus-sway-environment = pkgs.writeTextFile {
|
dbus-sway-environment = pkgs.writeTextFile {
|
||||||
name = "dbus-sway-environment";
|
name = "dbus-sway-environment";
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,10 @@
|
||||||
{
|
{ pkgs, inputs, config, lib, ... }:
|
||||||
pkgs,
|
with lib;
|
||||||
inputs,
|
let cfg = config.roles.auto-cpufreq;
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.roles.auto-cpufreq;
|
|
||||||
in {
|
in {
|
||||||
options.roles.auto-cpufreq = {enable = mkEnableOption "roles auto-cpufreq";};
|
options.roles.auto-cpufreq = {
|
||||||
|
enable = mkEnableOption "roles auto-cpufreq";
|
||||||
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.auto-cpufreq = {
|
services.auto-cpufreq = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue