-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1719741
Showing
20 changed files
with
2,514 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.nvimlog | ||
result | ||
nixos/hardware-configuration.nix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# NixOS Config | ||
|
||
This is my personal NixOS configuration, using Flakes and Home Manager. | ||
|
||
## Setup | ||
|
||
1. Clone repo into `~/nix` | ||
2. `rebuild-nixos` for building NixOS | ||
3. `rebuild-hm` for building Home Manager |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
inputs = { | ||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; | ||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05"; | ||
|
||
home-manager = { | ||
url = "github:nix-community/home-manager"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
ghostty = { | ||
url = "git+ssh://[email protected]/ghostty-org/ghostty"; | ||
}; | ||
}; | ||
|
||
outputs = { self, nixpkgs, nixpkgs-stable, home-manager, ghostty, ... }@inputs: | ||
let | ||
system = "x86_64-linux"; | ||
in | ||
{ | ||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { | ||
specialArgs = { | ||
pkgs-stable = import nixpkgs-stable { | ||
inherit system; | ||
config.allowUnfree = true; | ||
}; | ||
inherit inputs system; | ||
}; | ||
modules = [ | ||
./nixos/configuration.nix | ||
{ | ||
environment.systemPackages = [ | ||
ghostty.packages.x86_64-linux.default | ||
]; | ||
} | ||
]; | ||
}; | ||
|
||
homeConfigurations.pawel = home-manager.lib.homeManagerConfiguration { | ||
pkgs = nixpkgs.legacyPackages.${system}; | ||
modules = [ ./home-manager/home.nix ]; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.