Compare commits

..

No commits in common. "c8a3e1c3d6d2b2332b594eb261aef86d21be2a10" and "adb80fa45e19e795b7cdf4809f4bc0ae3307e13b" have entirely different histories.

8 changed files with 6 additions and 245 deletions

98
dendritic/flake.lock generated
View File

@ -1,98 +0,0 @@
{
"nodes": {
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1778716662,
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1779969295,
"narHash": "sha256-HwIJ3tOcwSMiV75L7KqJXciXR9UfT+d7rwOZMX7cTnA=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "61e2c9659324181e0f0ed911958c536333b1d4f6",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"import-tree": {
"locked": {
"lastModified": 1778781969,
"narHash": "sha256-Jjuz5CmSkur8KvLDoGa+vylEp+RkQtv4mt/qcMznpH0=",
"owner": "vic",
"repo": "import-tree",
"rev": "d321337efd0f23a9eb14a42adb7b2c29313ab274",
"type": "github"
},
"original": {
"owner": "vic",
"repo": "import-tree",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1779560665,
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1777168982,
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"root": {
"inputs": {
"flake-parts": "flake-parts",
"home-manager": "home-manager",
"import-tree": "import-tree",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@ -1,24 +0,0 @@
{
description = "Dendritic flake";
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
};
import-tree = {
url = "github:vic/import-tree";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } ( inputs.import-tree ./modules );
}

View File

@ -1,15 +0,0 @@
{ self, inputs, ... }:
{
# Home manager config
flake.nixosModules.homeManager = { pkgs, ... }: {
imports = [
inputs.home-manager.nixosModules.default
];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
};
};
}

View File

@ -1,38 +0,0 @@
{
self,
inputs,
...
}: {
# The configuration.nix for system config
flake.nixosModules.frameworkModule = { pkgs, ... }: {
environment = {
systemPackages = [
pkgs.neovim
pkgs.firefox
];
};
users = {
users = {
alex = {
isNormalUser = true;
shell = pkgs.zsh;
};
};
};
home-manager = {
users = {
alex = self.homeModules.alexModule;
};
};
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
};
};
};
}

View File

@ -1,14 +0,0 @@
{
self,
inputs,
...
}: {
flake.nixosConfigurations.framework = inputs.nixpkgs.lib.nixosSystem {
modules = [
self.nixosModules.frameworkHardware
self.nixosModules.frameworkModule
self.nixosModules.homeManager
];
};
}

View File

@ -1,41 +0,0 @@
{
config,
lib,
pkgs,
modulesPath,
...
}: {
flake.nixosModules.frameworkHardware = { pkgs, ... } : {
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
}

View File

@ -1,13 +0,0 @@
{ inputs, ... }:
{
imports = [
inputs.home-manager.flakeModules.home-manager
];
config.systems = [
"x86_64-linux"
"aarch64-darwin"
];
}

View File

@ -1,8 +1,12 @@
{pkgs, ...}: {}:
{ {
programs.niri = { programs.niri = {
enable = true; enable = true;
config = {
input = {
focus-follows-mouse = null;
};
};
}; };
} }