1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 07:03:36 +00:00
This commit is contained in:
Rae 5e 2025-01-18 15:01:56 -05:00
parent c9e6ab6e8b
commit 377c3d4a6b
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
4 changed files with 28 additions and 17 deletions

1
TODO
View file

@ -39,3 +39,4 @@
+- [ ] Maybe symlink your music to a music folder in your home directory or something (i.e. `~/Music -> /mnt/world/music` or perhaps a subdirectory of that?) +- [ ] Maybe symlink your music to a music folder in your home directory or something (i.e. `~/Music -> /mnt/world/music` or perhaps a subdirectory of that?)
[x] rmpc isnt working WAAAAAAAAAAAAAAAAAAAAAAAAAaa ive been working on this for a month i just wanna be done so i can lie down and cuddle girls and be happy forever................ [x] rmpc isnt working WAAAAAAAAAAAAAAAAAAAAAAAAAaa ive been working on this for a month i just wanna be done so i can lie down and cuddle girls and be happy forever................
[ ] alvr doesnt work :( [ ] alvr doesnt work :(
[ ] Manage flatpaks declaratively (https://github.com/gmodena/nix-flatpak)

View file

@ -63,6 +63,22 @@
"type": "github" "type": "github"
} }
}, },
"nix-flatpak": {
"locked": {
"lastModified": 1734128415,
"narHash": "sha256-HLwdVNxpuTsLlM3tCkpbQU6yCehdgf3kOS1G2SDlkzY=",
"owner": "gmodena",
"repo": "nix-flatpak",
"rev": "8bdc2540da516006d07b04019eb57ae0781a04b3",
"type": "github"
},
"original": {
"owner": "gmodena",
"ref": "latest",
"repo": "nix-flatpak",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1734323986, "lastModified": 1734323986,
@ -121,6 +137,7 @@
"inputs": { "inputs": {
"fenix": "fenix", "fenix": "fenix",
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur" "nur": "nur"

View file

@ -4,6 +4,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-24.11"; url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -20,7 +21,7 @@
}; };
}; };
outputs = { self, nixpkgs, home-manager, ... }@inputs: { outputs = { self, nixpkgs, home-manager, nix-flatpak, ... }@inputs: {
nixosConfigurations = nixosConfigurations =
let let
system = hostname: { system = hostname: {
@ -29,6 +30,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
nix-flatpak.nixosModules.nix-flatpak
./hosts/${hostname}/configuration.nix ./hosts/${hostname}/configuration.nix
]; ];
}; };

View file

@ -64,7 +64,13 @@
# CUPS printing # CUPS printing
printing.enable = true; printing.enable = true;
# misc # misc
flatpak.enable = true; flatpak = {
enable = true;
packages = [
"com.github.tchx84.Flatseal"
{ flatpakref = "https://sober.vinegarhq.org/sober.flatpakref"; sha256 = "1pj8y1xhiwgbnhrr3yr3ybpfis9slrl73i0b1lc9q89vhip6ym2l"; }
];
};
blueman.enable = true; blueman.enable = true;
openssh = { openssh = {
enable = true; enable = true;
@ -88,21 +94,6 @@
}; };
}; };
systemd.services = {
flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
'';
};
#?rm
# https://github.com/NixOS/nixpkgs/issues/102547#issuecomment-1016671189
# mpd.environment = {
# XDG_RUNTIME_DIR = "/run/user/1000";
# };
};
xdg.portal = { xdg.portal = {
enable = true; enable = true;
config = { config = {