trying flakes
This commit is contained in:
1 parent
66b0576db2
commit
9938a07226
3 files changed
+30
-8
No files matched your search
Generated
+17
@@ -90,6 +90,22 @@
|
||||
"url": "https://flakehub.com/f/nix-community/naersk/0.1.332.tar.gz"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1714201532,
|
||||
"narHash": "sha256-nk0W4rH7xYdDeS7k1SqqNtBaNrcgIBYNmOVc8P2puEY=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "53db5e1070d07e750030bf65f1b9963df8f0c678",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "master",
|
||||
"repo": "nixos-hardware",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"narHash": "sha256-9NJcFF9CEYPvHJ5ckE8kvINvI84SZZ87PvqMbH6pro0=",
|
||||
@@ -139,6 +155,7 @@
|
||||
"inputs": {
|
||||
"fh": "fh",
|
||||
"home-manager": "home-manager",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2,9 +2,16 @@
|
||||
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
|
||||
inputs.home-manager.url = github:nix-community/home-manager;
|
||||
inputs.fh.url = "https://flakehub.com/f/DeterminateSystems/fh/*.tar.gz";
|
||||
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, fh, ... }@attrs:
|
||||
outputs =
|
||||
{ self
|
||||
, nixpkgs
|
||||
, home-manager
|
||||
, fh
|
||||
, nixos-hardware
|
||||
}@attrs:
|
||||
let
|
||||
user = {
|
||||
name = "ari";
|
||||
@@ -21,7 +28,7 @@
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
hardware-configs/fwbook.nix
|
||||
<nixos-hardware/framework/13-inch/7040-amd>
|
||||
nixos-hardware.nixosModules.framework-13-7040-amd
|
||||
(import ./modules/os/nix.nix {
|
||||
systemStateVersion = systemStateVersion;
|
||||
})
|
||||
@@ -52,9 +59,9 @@
|
||||
hostName = hostName;
|
||||
user = user;
|
||||
})
|
||||
/home/ari/nixos-setup/modules/optional/amd-packages.nix
|
||||
/home/ari/nixos-setup/modules/optional/gnome.nix
|
||||
(import /home/ari/nixos-setup/modules/optional/hyprland.nix {
|
||||
./modules/optional/amd-packages.nix
|
||||
./modules/optional/gnome.nix
|
||||
(import ./modules/optional/hyprland.nix {
|
||||
user = user;
|
||||
})
|
||||
{
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
# Generated by ‘nixos-generate-config’
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user