fmt: reformat
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
modulesPath,
|
||||
hostname,
|
||||
...
|
||||
}: let
|
||||
custom-fonts = import ../fonts {inherit pkgs;};
|
||||
in {
|
||||
}:
|
||||
let
|
||||
custom-fonts = import ../fonts { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
];
|
||||
@@ -38,8 +40,8 @@ in {
|
||||
'';
|
||||
|
||||
nix.settings = {
|
||||
trusted-substituters = ["http://attic.baklava"];
|
||||
trusted-public-keys = ["systems:tvbHIThn7MAwvgMSiYR3ULVlL6cBrA40afqGuextnNQ="];
|
||||
trusted-substituters = [ "http://attic.baklava" ];
|
||||
trusted-public-keys = [ "systems:tvbHIThn7MAwvgMSiYR3ULVlL6cBrA40afqGuextnNQ=" ];
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
|
||||
@@ -1,18 +1,21 @@
|
||||
{
|
||||
inputs,
|
||||
customPackageOverlay,
|
||||
# ...
|
||||
}: let
|
||||
# ...
|
||||
}:
|
||||
let
|
||||
linuxSystem = "x86_64-linux";
|
||||
lib = inputs.nixpkgs.lib;
|
||||
nixpkgs-unstable = import inputs.nixpkgs {
|
||||
system = linuxSystem;
|
||||
config.allowUnfreePredicate = pkg:
|
||||
config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"claude-code"
|
||||
];
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
"maxos" = inputs.nixpkgs-24-11.lib.nixosSystem {
|
||||
system = linuxSystem;
|
||||
specialArgs = {
|
||||
@@ -33,7 +36,7 @@ in {
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
imports = [../home/deepak/home.nix];
|
||||
imports = [ ../home/deepak/home.nix ];
|
||||
};
|
||||
home-manager.sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
@@ -95,7 +98,7 @@ in {
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
imports = [../home/deepak/home.nix];
|
||||
imports = [ ../home/deepak/home.nix ];
|
||||
};
|
||||
home-manager.sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
|
||||
@@ -5,9 +5,11 @@
|
||||
pkgs,
|
||||
customPackageOverlay,
|
||||
...
|
||||
}: let
|
||||
custom-fonts = import ../../fonts {inherit pkgs;};
|
||||
in {
|
||||
}:
|
||||
let
|
||||
custom-fonts = import ../../fonts { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
@@ -150,7 +152,7 @@ in {
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
networking.firewall.allowedUDPPorts = [62532];
|
||||
networking.firewall.allowedUDPPorts = [ 62532 ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
@@ -18,19 +19,20 @@
|
||||
"usbhid"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [
|
||||
"kvm-intel"
|
||||
"wl"
|
||||
];
|
||||
boot.extraModulePackages = [config.boot.kernelPackages.broadcom_sta];
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/6d9433c6-2dab-4936-a924-d0a205381189";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."nixosroot".device = "/dev/disk/by-uuid/3b0d4c02-d9e5-44ab-8461-30797547ed70";
|
||||
boot.initrd.luks.devices."nixosroot".device =
|
||||
"/dev/disk/by-uuid/3b0d4c02-d9e5-44ab-8461-30797547ed70";
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/67E3-17ED";
|
||||
@@ -38,7 +40,7 @@
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/1e0f60e9-cf43-451d-8466-81887f27c7cf";}
|
||||
{ device = "/dev/disk/by-uuid/1e0f60e9-cf43-451d-8466-81887f27c7cf"; }
|
||||
];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
customPackageOverlay,
|
||||
modulesPath,
|
||||
...
|
||||
}: let
|
||||
custom-fonts = import ../../fonts {inherit pkgs;};
|
||||
in {
|
||||
}:
|
||||
let
|
||||
custom-fonts = import ../../fonts { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
];
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
customPackageOverlay,
|
||||
modulesPath,
|
||||
...
|
||||
}: let
|
||||
custom-fonts = import ../../fonts {inherit pkgs;};
|
||||
in {
|
||||
}:
|
||||
let
|
||||
custom-fonts = import ../../fonts { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user