mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-25 02:03:51 -08:00
Compare commits
No commits in common. "dc86e970e772855d3875e731b3624188259df1a1" and "9e52ef6c28cf97d66bcf38d9c1e210e375c4019c" have entirely different histories.
dc86e970e7
...
9e52ef6c28
8 changed files with 13 additions and 86 deletions
38
flake.lock
38
flake.lock
|
@ -157,22 +157,6 @@
|
||||||
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
|
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat_4": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1696426674,
|
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
|
@ -743,7 +727,6 @@
|
||||||
"nix-homebrew": "nix-homebrew",
|
"nix-homebrew": "nix-homebrew",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"spicetify": "spicetify",
|
|
||||||
"stablepkgs": "stablepkgs"
|
"stablepkgs": "stablepkgs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -788,27 +771,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spicetify": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-compat": "flake-compat_4",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1724472954,
|
|
||||||
"narHash": "sha256-65NfzEvwdJGHsOZA+w4AUFUG10RyfuQltct3h++gsw0=",
|
|
||||||
"owner": "Gerg-L",
|
|
||||||
"repo": "spicetify-nix",
|
|
||||||
"rev": "3caf2a241f7af52419ce97c6682b0467219ab914",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "Gerg-L",
|
|
||||||
"repo": "spicetify-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"stablepkgs": {
|
"stablepkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724098845,
|
"lastModified": 1724098845,
|
||||||
|
|
14
flake.nix
14
flake.nix
|
@ -53,16 +53,20 @@
|
||||||
url = "github:nix-community/nixvim";
|
url = "github:nix-community/nixvim";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
spicetify = {
|
|
||||||
url = "github:Gerg-L/spicetify-nix";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
home-manager,
|
||||||
|
catppuccin,
|
||||||
|
lanzaboote,
|
||||||
|
stablepkgs,
|
||||||
|
bleedingpkgs,
|
||||||
|
lix-module,
|
||||||
nix-darwin,
|
nix-darwin,
|
||||||
|
nix-homebrew,
|
||||||
|
apple-silicon,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
../../modules/nixos/fonts
|
../../modules/nixos/fonts
|
||||||
../../modules/nixos/greeter
|
../../modules/nixos/greeter
|
||||||
../../modules/nixos/core
|
../../modules/nixos/core
|
||||||
../../modules/nixos/hamachi
|
|
||||||
../../overlays
|
../../overlays
|
||||||
|
|
||||||
catppuccin.nixosModules.catppuccin
|
catppuccin.nixosModules.catppuccin
|
||||||
|
@ -34,7 +33,6 @@
|
||||||
../../users/youwen/common/neofetch
|
../../users/youwen/common/neofetch
|
||||||
../../users/youwen/common/neovim
|
../../users/youwen/common/neovim
|
||||||
../../users/youwen/common
|
../../users/youwen/common
|
||||||
../../users/youwen/linux/spicetify
|
|
||||||
./home-manager-extras
|
./home-manager-extras
|
||||||
catppuccin.homeManagerModules.catppuccin
|
catppuccin.homeManagerModules.catppuccin
|
||||||
nixvim.homeManagerModules.nixvim
|
nixvim.homeManagerModules.nixvim
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
services.logmein-hamachi.enable = true;
|
|
||||||
programs.haguichi.enable = true;
|
|
||||||
}
|
|
|
@ -1,19 +1,6 @@
|
||||||
let
|
{
|
||||||
universalAllowedPorts = [27016 42805];
|
|
||||||
universalAllowedRanges = [
|
|
||||||
{
|
|
||||||
from = 42852;
|
|
||||||
to = 42872;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
in {
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
networking.firewall = {
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
allowedTCPPorts = universalAllowedPorts;
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
allowedUDPPorts = universalAllowedPorts;
|
|
||||||
allowedUDPPortRanges = universalAllowedRanges;
|
|
||||||
allowedTCPPortRanges = universalAllowedRanges;
|
|
||||||
};
|
|
||||||
networking.firewall.enable = true;
|
|
||||||
networking.nameservers = ["1.1.1.1" "1.0.0.1"];
|
networking.nameservers = ["1.1.1.1" "1.0.0.1"];
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
"$mod, T, exec, kitty"
|
"$mod, T, exec, kitty"
|
||||||
"$mod, E, exec, dolphin"
|
"$mod, E, exec, dolphin"
|
||||||
"$mod, R, exec, pavucontrol"
|
"$mod, R, exec, pavucontrol"
|
||||||
"$mod, M, exec, thunderbird"
|
|
||||||
|
|
||||||
# Window actions
|
# Window actions
|
||||||
"$mod, Q, killactive"
|
"$mod, Q, killactive"
|
||||||
|
|
|
@ -4,6 +4,7 @@ in {
|
||||||
home.packages =
|
home.packages =
|
||||||
(createCommon pkgs)
|
(createCommon pkgs)
|
||||||
++ (with pkgs; [
|
++ (with pkgs; [
|
||||||
|
spotify
|
||||||
bitwarden-desktop
|
bitwarden-desktop
|
||||||
modrinth-app
|
modrinth-app
|
||||||
lutris
|
lutris
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
{
|
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
spicepkgs = inputs.spicetify.legacyPackages.${pkgs.system};
|
|
||||||
in {
|
|
||||||
imports = [
|
|
||||||
inputs.spicetify.homeManagerModules.default
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.spicetify = {
|
|
||||||
enable = true;
|
|
||||||
theme = spicepkgs.themes.catppuccin;
|
|
||||||
colorScheme = "mocha";
|
|
||||||
enabledExtensions = with spicepkgs.extensions; [
|
|
||||||
lastfm
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue