-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
b5b3b19
commit 7ed852e
Showing
19 changed files
with
296 additions
and
97 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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
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
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 |
---|---|---|
|
@@ -54,9 +54,6 @@ in { | |
statix | ||
deadnix | ||
selene | ||
|
||
#gui | ||
neovide | ||
]; | ||
|
||
programs.neovim = { | ||
|
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,11 @@ | ||
{pkgs, ...}: { | ||
config = { | ||
programs.emacs = { | ||
enable = true; | ||
package = pkgs.emacs-pgtk; | ||
}; | ||
|
||
services.emacs.enable = true; | ||
services.emacs.package = pkgs.emacs-pgtk; | ||
}; | ||
} |
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 @@ | ||
{pkgs, ...}: {config = {home.packages = with pkgs; [neovide];};} |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
gamescope | ||
mangohud | ||
scrcpy | ||
discord | ||
(discord.override {withVencord = true;}) | ||
]; | ||
}; | ||
} |
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
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
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
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
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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{pkgs, ...}: { | ||
imports = [./windline.nix]; | ||
config = { | ||
colorschemes.kanagawa = {enable = true;}; | ||
plugins = { | ||
|
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,19 @@ | ||
{pkgs, ...}: { | ||
config = { | ||
extraPlugins = [ | ||
(pkgs.vimUtils.buildVimPlugin | ||
{ | ||
name = "windline"; | ||
src = pkgs.fetchFromGitHub { | ||
owner = "windwp"; | ||
repo = "windline.nvim"; | ||
rev = "54401a62c61d56fe9df106321b158c9048aa5f9b"; | ||
hash = "sha256-95hsm+1dKKnW9jW8yAaF7r/ESB12qugGXzJ/IjbrOxU="; | ||
}; | ||
}) | ||
]; | ||
extraConfigLua = '' | ||
require('wlsample.wind') | ||
''; | ||
}; | ||
} |
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 @@ | ||
/nix/store/2i0rbrzw5nx1lyngx8q2xfd51b1b35xz-nixos-sd-image-24.05.20240425.7bb2ccd-aarch64-linux.img |
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
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
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,46 @@ | ||
{ | ||
flake, | ||
lib, | ||
... | ||
}: let | ||
inherit (flake) inputs; | ||
inherit (inputs) nixpkgs self; | ||
in { | ||
imports = [ | ||
self.nixosModules.fenrys | ||
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" | ||
]; | ||
|
||
time.timeZone = "Asia/Kuala_Lumpur"; | ||
i18n.defaultLocale = "en_US.UTF8"; | ||
sdImage.compressImage = false; | ||
|
||
networking.wireless.networks = { | ||
"Sapi" = {pskRaw = "261aa691d2135810dcff3b7b8248f63727c8088b4d9f7618f3685a61ce03b341";}; | ||
}; | ||
|
||
networking.hostName = "fenrys"; | ||
|
||
users.users.luqman.openssh.authorizedKeys.keys = [ | ||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDW+oXpKYSILzxc4O5Nrlf1oObQQc4XrawHWQmd5yvspQI6G5138KhX4woq65P1dGRguLvj3wWwJt5zKf533995radcusma9G1YDMWgkq+bKz+eNvY4n3zkA3EeKAlLsdwf/bA1ydLqK/LOTmBjTQqoxJsiQ7sqWCQFKZxRPlaRKsEnL8PmhkQNll8sJJ0GY559kODKArAjqYxNVPnOjijfl80WjIplrxKOdlaK79zJxv955lQTRNotI/wITnbOSpi2IMrbhCXQ5IViVj1fr5CwxPO1hrz5wRaycUhErtxzQS+Cvfkp5ooaOJSNRtmxoGC0hPxO8Vi+SrL28mH8ziPn" | ||
]; | ||
|
||
services.openssh.enable = true; | ||
|
||
nixpkgs.hostPlatform = lib.mkForce "aarch64-linux"; | ||
|
||
services.avahi = { | ||
enable = true; | ||
nssmdns4 = true; | ||
publish = { | ||
enable = true; | ||
addresses = true; | ||
domain = true; | ||
hinfo = true; | ||
userServices = true; | ||
workstation = true; | ||
}; | ||
}; | ||
|
||
system.stateVersion = "22.11"; # Did you read the comment? | ||
} |